myeclipse创建maven项目后pom文件报错,
报错信息:Failuretotransferorg.apache.maven.plugins:maven-resources-plugin:pom:2.5fromhttp...
报错信息:Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.5 from http://localhost:8081/repository/maven-
public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or
updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.5
from/to nexus (http://localhost:8081/repository/maven-public/): Connection refused: no further information to http://localhost:
8081/repository/maven-public/org/apache/maven/plugins/maven-resources-plugin/2.5/maven-resources-plugin-2.5.pom 展开
public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or
updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.5
from/to nexus (http://localhost:8081/repository/maven-public/): Connection refused: no further information to http://localhost:
8081/repository/maven-public/org/apache/maven/plugins/maven-resources-plugin/2.5/maven-resources-plugin-2.5.pom 展开
3个回答
2017-12-27 · 百度知道合伙人官方认证企业
育知同创教育
1【专注:Python+人工智能|Java大数据|HTML5培训】 2【免费提供名师直播课堂、公开课及视频教程】 3【地址:北京市昌平区三旗百汇物美大卖场2层,微信公众号:yuzhitc】
向TA提问
关注
展开全部
右键工程-点击maven-update projects就可以解决了。
2018-01-08
展开全部
好像是连不上你的仓库 http://localhost:8081/repository/maven-public/ 这个地址,请确认一下
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你的环境可以联网吗,maven是需要去它的本地库和在线库里寻找配置文件所描述的jar包的,如果不能联网,或是网络环境不好,在线库早不到相应版本的jar都会报异常。
追问
可以联网啊,
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询