我有同样的问题。我通过将Maven原型目录添加到Eclipse中来修复它。下面提供了步骤:(请注意https协议)
- Open Window > Preferences
- Open Maven > Archetypes
Click ‘Add Remote Catalog’ and add the following:
目录文件:https : //repo1.maven.org/maven2/archetype-catalog.xml
- 说明:Maven目录

我有同样的问题。我通过将Maven原型目录添加到Eclipse中来修复它。下面提供了步骤:(请注意https协议)
Click ‘Add Remote Catalog’ and add the following:
目录文件:https : //repo1.maven.org/maven2/archetype-catalog.xml