I've multiple modules in a project. Later I added multiple spring-boot modules (not dependent on each other) just another projects/services.
The root project builds a jar with no issues. But the other modules in that project doesn't build at all.
error
Error: Could not find or load main class com.app.server.namingserver.NamingServerApplication
Caused by: java.lang.ClassNotFoundException: com.app.server.namingserver.NamingServerApplication
Ive tried all possible solution from this post (How to build jars from IntelliJ properly?)
My IntelliJ version
IntelliJ IDEA 2018.2.1 (Ultimate Edition) Build #IU-182.3911.36, built on August 7, 2018
JRE: 1.8.0_152-release-1248-b8 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6
Any other solution?