[Exception description]
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)
JDK version: 10.0.2
Method 1: Create a new package, drag the class files in the default package into the new package, refresh, the default package will disappear
Method 2: Delete module-info.java
Similar Posts:
- Error reported by feign component of springcloud microservice
- How to Solve Error: Unable to instantiate activity ComponentInfo
- How to Solve DEFAULT_INCOMPATIBLE_IMPROVEMENTS Error (Freemarker + SpringMVC)
- ContextPath must start with ‘/’ and not end with ‘/’ [How to Solve]
- [Java. Lang. unsupported classversionerror] version inconsistency error
- Exception resolution: java.lang.IllegalStateException: Failed to introspect Class
- How to Solve IDEA Error: “Library source does not match the bytecode for class”
- Spring Boot Start Error: Exception in thread “main” java.lang.StringIndexOutOfBoundsException: …
- [Solved] java.lang.IllegalStateException: Failed to introspect Class xxxx
- [How to Solve] Hive: Unsupported major.minor version 51.0