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>
标签:java,javac,sun,tree,tools,JCTree From: https://www.cnblogs.com/look06888/p/18013775然后刷新或者清理一下缓存