Skip to content

Instantly share code, notes, and snippets.

@bwangelme
Created October 10, 2021 10:34
Show Gist options
  • Save bwangelme/af849ca7553f63fa433e593738377457 to your computer and use it in GitHub Desktop.
Save bwangelme/af849ca7553f63fa433e593738377457 to your computer and use it in GitHub Desktop.
build zipkin error
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.613 s
[INFO] Finished at: 2021-10-10T17:33:29+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project zipkin: Resolution of annotationProcessorPath dependencies failed: Unable to get dependency information for com.google.errorprone:javac:jar:9+181-r4173-1: Failed to retrieve POM for com.google.errorprone:javac:jar:9+181-r4173-1: Could not transfer artifact com.google.errorprone:javac:pom:9+181-r4173-1 from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): Authorization failed for http://maven.aliyun.com/nexus/content/groups/public/com/google/errorprone/javac/9+181-r4173-1/javac-9+181-r4173-1.pom 403 Forbidden
[ERROR] com.google.errorprone:javac:jar:9+181-r4173-1
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public, releases=true, snapshots=false),
[ERROR] alt-repo1 (https://repo1.maven.org, releases=true, snapshots=true),
[ERROR] sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots, releases=false, snapshots=true)
[ERROR] Path to dependency:
[ERROR] 1) com.google.errorprone:error_prone_core:jar:2.4.0
[ERROR] 2) com.google.errorprone:error_prone_check_api:jar:2.4.0
[ERROR]
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :zipkin
./mvnw -DskipTests --also-make -pl zipkin-server clean install 9.20s user 0.44s system 424% cpu 2.268 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment