Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Missing specification of class containing the main entry point method #15

Open
Flojolomo opened this issue Nov 18, 2020 · 0 comments
Open

Comments

@Flojolomo
Copy link

Dear developers,

when I executed the command native-image --no-server -cp build/libs/complete-0.1-all.jar , I got the error Error: Please specify class containing the main entry point method. (see --help).
The issue was solved by replacing the argument -cp build/libs/complete-0.1-all.jar with -jar build/libs/complete-0.1-all.jar.

I suggest to update the documentation of the related tutorial in section 8.

Cheers!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant