异常信息
1 | [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project helloworld: Fatal error compiling: java.lang.ExceptionInInitializerError: com.sun.tools.javac.code.TypeTags -> [Help 1] |
异常原因
1 | JDK使用的版本过高,lombok的依赖版本过低 |
解决方法
1 | 降低JDK的使用版本或使用对应JDK版本的lombok依赖 |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 123!