admin管理员组

文章数量:1566353

最近用eclipse做个项目,导入外部jar包时,有以下问题
出现的问题:

Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for  ...
Caused by: java.lang.IllegalArgumentException:... Invalid module name: '0' is not a Java identifier

解决方案

  1. 首先导入jar包,首先选中要导入的包,右键–> Build path -> add to build path
  2. 接着会在该目录下发现以下包
  3. 项目上右键-> build path ->configure build path 出现以下界面
  4. 将 ModulePath下面的刚导入的包全部拖拽到 ClassPath下面

    点击 Apply and close

再运行就不会出现上面错误啦!!!
我也不知道是哪里的锅,尝试就这个方式解决了,以后还是用 IDEA吧

本文标签: initializationoccurredErrorbootModule