look06888

导航

JDK21报错 java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'

JDK21报错 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 版本兼容性的问题导致
Maven 依赖改为新版本

<dependency>
 <groupId>org.projectlombok</groupId>
 <artifactId>lombok</artifactId>
 <version>1.18.30</version>
</dependency>

然后刷新或者清理一下缓存

posted on 2024-02-13 14:18  Look068  阅读(3742)  评论(0编辑  收藏  举报