使用idea建立的maven项目,pom文件报错:
Failed to read artifact descriptor for org.slf4j:jcl-over-slf4j:jar:1.7.22 less... (Ctrl+F1)
Inspects a Maven model for resolution problems.
通过咨询的排查,才知道maven url编写错误,只需修改Maven的Setting中的值即可
例:
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>