eclipse导入gradle项目,环境问题和配置问题

Errors occurred during the build.
Errors running builder 'Java Builder' on project 'common'.
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 @72fb989b


Description    Resource    Path    Location    Type
The project cannot be built until its prerequisite common is built. Cleaning and building all projects is recommended    ag        Unknown    Java Problem
 

========eclipse添加参数避免引发模块错误配置====

--add-opens
java.base/java.lang=ALL-UNNAMED

检查环境配置

刷新gradle项目

更多推荐