maven报错:插件下载失败之类
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project mini-common: Fatal error compiling: java.lang.ExceptionInInitializerError: com.sun.tools.javac.code.TypeTags -> [Help 1]
15:38:41 [ERROR]
15:38:41 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
15:38:41 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
15:38:41 [ERROR]
15:38:41 [ERROR] For more information about the errors and possible solutions, please read the following articles:
15:38:41 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
15:38:41 [ERROR]
15:38:41 [ERROR] After correcting the problems, you can resume the build with the command
15:38:41 [ERROR] mvn <goals> -rf :mini-common
解决~
删除了 ~/.m2文件 (运行的节点机上)