Error occurred during initialization of boot layer java.lang.module.FindException: Error reading module: D:\eclipseForJavaWork\test2\bin Caused by: java.lang.module.InvalidModuleDescriptorException: Test2.class found in top-level directory (unnamed package not allowed in module)
module-info.java 때문에 발생하는 오류이다.
module-info.java파일을 삭제하면 해결
경로 : 프로젝트명/src/module-info.java