Multiple annotations found at this line:
- CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3..0.5 or one of its
dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:3..0.5:
ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3..0.5 from http://maven.oschina.net/
content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of CN has elapsed or
updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3..0.5 from/to CN (http://
maven.oschina.net/content/groups/public/): Failed to transfer http://maven.oschina.net/content/groups/public/org/apache/maven/plugins/
maven-compiler-plugin/3..0.5/maven-compiler-plugin-3..0.5.pom. Error code 500, Server Error
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3..0.5:testCompile
(execution: default-testCompile, phase: test-compile)
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3..0.5:compile (execution:
default-compile, phase: compile)
- CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3..0.5 or one of its
dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:3..0.5:
ArtifactResolutionException: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3..0.5 from/to CN (http://
maven.oschina.net/content/groups/public/): Failed to transfer http://maven.oschina.net/content/groups/public/org/apache/maven/plugins/
maven-compiler-plugin/3..0.5/maven-compiler-plugin-3..0.5.pom. Error code 500, Server Errorapache
pom報錯,具體如上。maven
緣由:maven-compiler-plugin的版本過高ui
解決方法1:this
將maven-compiler-plugin的版本下降,便可解決。.net
解決方法2:code
右鍵項目,選擇maven -> update project,勾選Force Update of Snapshots/Releases,點擊ok便可解決。ip