How to run a Java 9 main class in Eclipse without editing a launch-configuration?
问题 I created a simple Hello World main class and a module-info.java file within a Maven project in Eclipse Oxygen.1a Release (4.7.1a), running on Java 9.0.1. When I try to start the main class with right-click - Run As Java Application I get the error: Error occurred during initialization of boot layer java.lang.module.FindException: Module com.github.gv2011.quarry.modules.moda not found I can successfully run it from the command line from the target/classes directory: java -p . -m com.github