Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

idea maven jar依赖问题

现象:自己构建了一个jar项目a.jar在该项目的pom文件中引入了commons-lang3.jar的版本是3.7,然后另一个项目B引用a.jar,但是在B项目中显示的commons-lang3.jar的版本是3.9,不存在jar包冲突,也查不出原因
15E0471CDAD114AEA4CB838A307346F9.jpg
这个地方点进去会跳到下图
ABE13E596D3413379FB2BDA0D38ACE74.jpg
idea缓存也清了,还是没有用,各位路过大神有遇到的没,还请不吝赐教


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

可以试着把maven仓库中的3.9版本删除试试看,是否会重新下载


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...