You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I am also experiencing this, the plugin is looking for a main class/method in every module, when it doesn't exist in modules that contain shared code that are used as dependencies for top level modules.
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
The text was updated successfully, but these errors were encountered: