下载了最新的eclipse【eclipse-jee-2022-12-R-win32-x86_64】,编译1.8的项目时报错:
Errors occurred during the build.
Errors running builder 'Java Builder' on project 'sdk'.
Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @33f4c769
参考文章:
https://blog.csdn.net/lijingchena/article/details/125517655
https://www.cnblogs.com/stcweb/articles/15114266.html
https://www.jianshu.com/p/7f6fd3c28820
发现修改方式:
下载最新的lombok.jar(1.18.24)