itoy

问题

用Eclipse创建maven工程的时候,总是会报错,例如提示:

Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:1.1]

The defined artifact is not an archetype

网上查找资料说是将 maven 下的repository下的 相关 lib 删除重建,但是试过了之后,发现没有用。

自己的解决方法:

将Eclipse的工作空间切换到一个新文件夹,再次创建 maven 工程,即可成功创建。

分类:

技术点:

相关文章:

  • 2021-12-08
  • 2021-07-13
  • 2021-08-24
  • 2021-11-01
  • 2021-10-19
  • 2021-10-19
  • 2021-03-31
猜你喜欢
  • 2021-10-29
  • 2021-06-06
  • 2021-08-01
  • 2021-11-01
  • 2021-09-03
相关资源
相似解决方案