Eclipse创建maven项目时报错: maveneclipse
程序员文章站
2022-06-20 10:50:57
...
maven-resources-plugin:2.5 or one of its dependencies could
Eclipse创建maven简单项目时,报错:Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
---------------------
本文来自 xuefeng0707 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/xuefeng0707/article/details/42157311?utm_source=copy
本人解决方法:
修改settings.xml,添加:
<mirror> <id>Central</id> <url>http://repo1.maven.org/maven2</url> <mirrorOf>central</mirrorOf> </mirror>
而后删除项目重新创建,或者Force Update
---------------------
本文来自 xuefeng0707 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/xuefeng0707/article/details/42157311?utm_source=copy
Eclipse创建maven简单项目时,报错:Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
---------------------
本文来自 xuefeng0707 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/xuefeng0707/article/details/42157311?utm_source=copy
本人解决方法:
修改settings.xml,添加:
<mirror> <id>Central</id> <url>http://repo1.maven.org/maven2</url> <mirrorOf>central</mirrorOf> </mirror>
而后删除项目重新创建,或者Force Update
---------------------
本文来自 xuefeng0707 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/xuefeng0707/article/details/42157311?utm_source=copy
上一篇: 药材搭配食物疗效好 推荐六款补血药膳
下一篇: 六款美容药膳食疗 全面强力对抗皱纹
推荐阅读
-
Eclipse创建Maven项目Java Resources有红叉怎么办?
-
在eclipse中使用Maven分模块搭建SSM框架,创建jar、war、pom工程模块教学,项目的热部署,需要的可以留下邮箱,给大家发整理过的Maven笔记
-
Maven 项目在 Eclipse 的创建配置
-
Eclipse中的maven项目引入jar报错的解决方式
-
【解决】IDEA创建Maven多模块项目时子模块引用不到父模块的pom
-
【Maven】使用Eclipse创建Maven项目(五)
-
使用Maven在Eclipse中创建Web项目
-
使用Maven在Eclipse中创建Web项目
-
maven入门(四) eclipse创建maven项目
-
eclipse创建maven项目