在进入到\rocketmq-dashboard-2.0.0\rocketmq-dashboard-rocketmq-dashboard-2.0.0目录下,执行mvn clean package -Dmaven.test.skip=true打包,报错:
java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'
后查阅资料,发现是lombok版本问题,升级到高版本问题解决,修改项目中的pom.xml:
<lombok.version>1.18.22</lombok.version> 1.18.22 -> 1.18.34
参考文章:报错java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not ...解决方法-CSDN博客