Spring Boot 2.1.5 Java 11 Modules, Error assembling JAR: Could not create modular JAR file. The JDK jar tool exited with 1 -> [Help 1]
Issue here was
<start-class>com.myparent.main.Main</start-class>
Had to move it from root module
's pom.xml
to main module
's pom.xml
.
Putting it in root causes other modules to look for Main class too causing the issue in packaging.