How to Solve Error occurred during initialization of boot layer

problem

When using jdk9 or above, eclipse will report an error when running the program, indicating: error occurred during initialization of boot layer, that is, an error occurred during initialization of boot layer
this is because we cannot execute a single class

solve

Delete module directly- info.java This document


Read More: