eclipse中maven创建项目失败

eclipse中maven创建项目失败显示
Couldnot resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:10fromany ofthe configuredrepositories
eclipse中maven创建项目失败
其实这个问题很简单就是在maven创建项目中需要一个文件夹来存放数据,而在官网中解压的conf中settings.xml中的文件路径为E:\项目…
我的解决方法是在maven文件夹中创建一个空白的名为repository的文件夹
eclipse中maven创建项目失败
然后修改conf中的setting.xml第53行中的文件路径为D:\maven\repository
eclipse中maven创建项目失败
保存之后setting.xml会自动修改,然后这个界面中文件路径会自动修改
eclipse中maven创建项目失败
点击OK就可以成功创建maven项目
eclipse中maven创建项目失败

相关文章:

  • 2021-10-28
  • 2022-01-05
  • 2021-08-27
  • 2021-04-03
  • 2021-09-23
  • 2022-02-17
猜你喜欢
  • 2021-08-01
  • 2021-07-02
  • 2021-09-29
  • 2021-05-04
  • 2021-04-30
  • 2021-07-04
  • 2022-12-23
相关资源
相似解决方案