I am facing with an error when building native image using graalvm. ALWAYS ALWAYS got this error
GraalVM Native Image: Generating 'rxbatch' (executable)...
========================================================================================================================
[1/8] Initializing... (0.0s @ 0.12GB)
Error: Main entry point class 'com.example.Application' neither found on
classpath: '/Users/huynhcongtin/Downloads/rxbatch_graalvm/target/classes:
I tried with 2 ways to build, but both got same error
Config native-maven-plugin in pom file and run command
mvn -Pnative native:compile
Build jar file without native, then compile native using native-image
Hi,
I am facing with an error when building native image using graalvm. ALWAYS ALWAYS got this error
I tried with 2 ways to build, but both got same error
Here are some info
My spring boot maven project is structured under submodule
The main class was put into rxbatch-webapp sub module
Here is the parent pom.xml file
Here is the pom.xml of submodule rxbatch-webapp
I don't know why above error happen even I checked my main class existing in jar file
Moreover I can build native image successfully with spring boot maven single module (no submodule)
Please help to advice this case
This is my project https://github.com/TinCongHuynh/graalvm-springboot-maven-submodule