[异常处理1]Error occurred during initialization of boot layer
程序员文章站
2022-10-15 21:47:58
[异常描述] 方法1: 新建一个包,将默认包中的类文件拖入新建包中,刷新,默认包会消失 ......
[异常描述]
error occurred during initialization of boot layer java.lang.module.findexception: error reading module: e:\users\administrator\eclipse-workspace\example0\bin caused by: java.lang.module.invalidmoduledescriptorexception: hellomyjava.class found in top-level directory (unnamed package not allowed in module)
方法1: 新建一个包,将默认包中的类文件拖入新建包中,刷新,默认包会消失