Error occurred during initialization of boot layer

Answered

I keep getting this error:

Error occurred during initialization of boot layer
java.lang.LayerInstantiationException: Class loader (instance of): 'app' tried to define prohibited package name: java

This happens when I tried to change the structure of my files, I separate then into folders but then error occurred. I decided to bring it back, but the error keeps getting in the way. The program is not working now. I hope someone could help me. Thank you so much :)

1 comment
Comment actions Permalink

You can't use `java` as your package name. Move your code some a package with a different name that is not reserved by the Java language specification.

0

Please sign in to leave a comment.