Failed to read artifact descriptor for xxx:jar的问题解决
今天在编写maven项目的时候发现,spring-context-support-5.1.9.RELEASE.jar这个包无法引进来。查看父级pom文件已经加到dependencyManagement 里了,且自模块也已经引用了,但是就是找不到对应的jar,在项目里jar包里确实没发现有该jar。于是我reimport pom.xml发现还是引不到,且报错Failed to read artifact descriptor for spring-context-support-5.1.9.RELEASE.jar …等信息。于是我直接到本地仓库里找到对应的5.1.9版本,发现是有的。于是直接删除spring-context-support下的5.1.9.RELEASE包,然后reimport就ok了

在Maven项目中遇到spring-context-support-5.1.9.RELEASE.jar包无法导入的问题,即使已添加到dependencyManagement并引用,仍显示未找到。通过删除本地仓库中对应版本的包并重新导入,成功解决了Failed to read artifact descriptor错误。
1万+

被折叠的 条评论
为什么被折叠?



