创建maven工程报错!

SizzleCarl 2017-06-28 06:09:48
错误提醒
Description Resource Path Location Type
Failure to transfer org.codehaus.plexus:plexus-utils:jar:3.0 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.codehaus.plexus:plexus-utils:jar:3.0 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled. pom.xml /maventest line 1 Maven Configuration Problem
...全文
218 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
SizzleCarl 2017-07-02
  • 打赏
  • 举报
回复
感谢各位的解答,忘了结帖了,已找到问题所在,是我的setting.xml文件的问题
A雄 2017-06-29
  • 打赏
  • 举报
回复
重新安装个maven库,修改一下setting.xml文件,再重新构建
李德胜1995 2017-06-28
  • 打赏
  • 举报
回复
去仓库把plexus-utils文件夹删了,重新下载。。。。plexus-utils-3.0.jar没下载好
KeepSayingNo 2017-06-28
  • 打赏
  • 举报
回复
检查下 pom文件,应该是哪里少了什么,也许是一个尖括号
SizzleCarl 2017-06-28
  • 打赏
  • 举报
回复
看 错误提醒是少了一个jar包于是我加了一个 <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>3.0.24</version> </dependency> 但还是没有作用,不知道问题出在哪里

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧