项目pom.xml第一行报错解决方案


Failed to read artifact descriptor for com.google.code.gson:gson:jar:2.7 less... (⌘F1) 

Inspects a Maven model for resolution problems.

 Failed to read artifact descriptor for com.google.code.gson:gson:jar:2.7

解决方案:

把自己maven仓库下的所有文件删除,在更新项目,报错自动消失。

aven默认的本地仓库位置在~/.m2/repository



免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM