构建maven项目失败解决办法

2023-05-16

通过eclipse的maven插件新建maven项目时,出现如下错误

Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-webapp:RELEASE]

The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-webapp:1.0)

解决方案如下:


  1. Open Window > Preferences
  2. Open Maven > Archetypes
  3. Click 'Add Remote Catalog' and add the following:
    • Catalog File: http://repo1.maven.org/maven2/archetype-catalog.xml
    • Description: maven catalog
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

构建maven项目失败解决办法 的相关文章

随机推荐