Failed to read artifact descriptor for

created at 05-29-2022 views: 8


An error of build failure is reported when the Java maven project is executed.

Full text of the error:

[ERROR] Failed to execute goal (default-cli) on project spring-petclinic: 
Execution default-cli of goal failed: Plugin or one of its dependencies could not be resolved: 
Failed to collect dependencies at -> -> -> -> -> 
Failed to read artifact descriptor for Could not transfer artifact from/to aliyunmaven ( 
Access denied to: -> [Help 1]


Go to to find javac-9+181-r4173-1, download Error Prone Javac

Download javac-9+181-r4173-1.jar in Files to the local. // Tried adding dependency in pom.xml to no avail.

Then, execute the following command in cmd:

mvn install:install-file -DartifactId=javac -Dversion=9+181-r4173-1 -Dpackaging=jar -Dfile=C:\Users\Administrator\Downloads\javac-9+181-r4173-1.jar

can be installed normally.

created at:05-29-2022
edited at: 05-29-2022: