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
JDK version:
java 11.0.11 2021-04-20 LTS
GraalVM 21.3.0 Java 11 CE (Java Version 11.0.13+7-jvmci-21.3-b05)
Problem Description
If you build quickstart-mp that is generated from the Helidon archetype the resulting application jar won't run:
java -jar target/quickstart-mp.jar
Error: Could not find or load main class me.jdipol.mp.quickstart
Caused by: java.lang.ClassNotFoundException: me.jdipol.mp.quickstart
This is working with Helidon 2.6.5
Steps to reproduce
Build the archetype in the helidon-2.x branch and run:
helidon init --reset --reset --url file:///path/to/helidon-2.x-repo/archetypes/catalog/target/cli-data
# Select MP, quickstart and accept other defaults
mvn clean install
java -jar target/quickstart-mp.jar
Note: to run the helidon CLI this way you'll want the change in PR #8463
The text was updated successfully, but these errors were encountered:
barchetta
changed the title
2.x: MP quickstart fails to build native-image: Main entry point class not found
2.x: MP quickstart fails to start: Error: Could not find or load main class
Mar 8, 2024
Environment Details
java 11.0.11 2021-04-20 LTS
GraalVM 21.3.0 Java 11 CE (Java Version 11.0.13+7-jvmci-21.3-b05)
Problem Description
If you build quickstart-mp that is generated from the Helidon archetype the resulting application jar won't run:
This is working with Helidon 2.6.5
Steps to reproduce
Build the archetype in the helidon-2.x branch and run:
Note: to run the helidon CLI this way you'll want the change in PR #8463
The text was updated successfully, but these errors were encountered: