maven的pom文件出现:Failed to read artifact descriptor for org.springframework.boot:*** 或其他jar包解决方法
2019-03-21 19:20
1566 查看
版权声明:BestQiang,转载请注明出处 https://blog.csdn.net/qq_29951485/article/details/88723491
今天maven导入redis的jar包时,右边maven栏目出现红线警告
所以我进行了处理maven警告常用的方法:
对于有波浪线的dependency,将其从pom中删除,保存后,再撤销回来,一般这样都可以解决问题,但是这次没有效果
我仔细看maven提示的错误,出现Failed to read artifact descriptor for org.springframework.boot:spring-boot-starter-data-redis:jar 错误,我很不解,于是在谷歌上进行搜索:在stackoverflow发现如下处理方法,
即将提示出错的jar包在maven仓库的文件夹里找到,把它删除,然后在idea中重新通过maven导入下载,做完这些后一般可以解决,如果没有解决,重启idea,在看,问题解决,原因是maven没有检测出自己下载的jar包,需要重新添加,使得maven可以识别
相关文章推荐
- IntelliJ maven项目pom文件错误failed to read artifact descriptor for xx.jar问题解决办法
- (Maven配置)Failed to read artifact descriptor for xxx:jar解决方法
- 解决 Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.6
- mvn install--Failed to read artifact descriptor for xxx.pom 的问题解决方法
- Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.5
- Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.7
- maven clean package 时出现Failed to read artifact descriptor for的问题解决
- Failed to read artifact descriptor for xxx:jar的问题解决
- Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:2.3
- PluginResolutionException( Failed to read artifact descriptor for org.apache.maven.plugins:)
- Maven项目pom.xml文件报错“ ArtifactDescriptorException: Failed to read artifact descriptor for ...”解决方法
- Failed to read artifact descriptor for xxx:jar的问题解决
- Eclipse&Maven导入Maven项目后在pom.xml出现"Missing artifact org.springframework:spring-jdbc:jar:3.2.4.RELEAS"
- Maven :Failed to read artifact descriptor for xx.jar
- Failed to read artifact descriptor for org.apache.poi:poi-ooxml:pom.lastUpdated:3.10-FINAL
- Failed to read artifact descriptor for xxx:jar的问题解决
- Failed to read artifact descriptor for avalon-framework:avalon-framework-api:jar:4.1.5-dev
- Failed to read artifact descriptor for org.apache.ws.commons:XmlSchema:jar:1.1:
- Failed to read artifact descriptor for org.apache.httpcomponents:httpmime:jar