提示错误:
Failed to read artifact descriptor for ch.qos.logback:logback-classic:jar:1.2.3
Failed to read artifact descriptor for com.alibaba:fastjson:jar:1.2.47
Failed to read artifact descriptor for com.fasterxml.jackson.core:jackson-databind:jar:2.11.4
Failed to read artifact descriptor for com.fasterxml.jackson.core:jackson-databind:jar:2.9.6
Failed to read artifact descriptor for com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.11.4
Failed to read artifact descriptor for com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.11.4
Failed to read artifact descriptor for com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.11.4
Failed to read artifact descriptor for commons-codec:commons-codec:jar:1.14
Failed to read artifact descriptor for jakarta.annotation:jakarta.annotation-api:jar:1.3.5
Failed to read artifact descriptor for javax.validation:validation-api:jar:2.0.1.Final
Failed to read artifact descriptor for org.apache.logging.log4j:log4j-to-slf4j:jar:2.13.3
Failed to read artifact descriptor for org.glassfish:jakarta.el:jar:3.0.3
Failed to read artifact descriptor for org.hibernate.validator:hibernate-validator:jar:6.1.7.Final
Failed to read artifact descriptor for org.projectlombok:lombok:jar:1.18.24
Failed to read artifact descriptor for org.slf4j:jul-to-slf4j:jar:1.7.30
Failed to read artifact descriptor for org.slf4j:slf4j-log4j12:jar:1.7.25
Failed to read artifact descriptor for org.yaml:snakeyaml:jar:1.26
原因:
maven下载jar包失败,可以在私服仓库下查看,没有jar包
解决:
maven配置文件setting.xml的mirror地址配置错误,重新配置,如下:
<mirror>
<id>aliyunmaven</id>
<mirrorOf>*</mirrorOf>
<name>阿里云公共仓库</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>