前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >[ERROR] Failed to execute goal on project jdong: Could not resolve dependencies for project jdong:ja

[ERROR] Failed to execute goal on project jdong: Could not resolve dependencies for project jdong:ja

作者头像
IT云清
发布2019-01-22 09:36:07
1.9K0
发布2019-01-22 09:36:07
举报
文章被收录于专栏:IT云清

[ERROR] Failed to execute goal on project jdong: Could not resolve dependencies for project jdong:jar:1.0.3: Failure to find com.lowagie:itextasian:jar:1.0 in 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 -> [Help 1] [ERROR]  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR]  [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Process finished with exit code 1

使用idea开发时,maven项目install时,出现此错误的可能原因是:

setting.xml文件没有配置

或者

没有拉最新的代码,导致依赖出问题。

或者

pom.xml中的version版本没有及时更新,比如,A依赖B,A的pom.xml中依赖着B的<version>1.0.1<version>,但B已经升级到了1.0.2了,这时候可能B中有很多新东西,如果版本不及时更新,有些依赖资源就会找不到。

下面是idea中,设置setting.xml的方法,路径需要自己更改一下。

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2017年08月26日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档