-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
polyglot-chat-app not able to run #253
Comments
@bhoran , what JDK did you run this demo with? I'm testing on Oracle GraalVM 21+35.1, macOS, and the exception is different:
|
Same root cause by the looks of it. I was using OpenJDK openjdk version "21.0.2" 2024-01-16 |
In my test round, on Oracle GraalVM 21+35.1 for macOS, I could run on JVM and as a native image.
Another observation, step 2 "Copy the venv into the output resources directory" seems redundant. A native image runs the same way. |
@bhoran seems like the README is just missing the step that it tells you in the output:
Please try to do this and then run again. So basically
needs to become
@olyagpl
step. That step is required, the gradle build will not put it in the right place for you, and then the native image cannot load the required packages. |
To summarise, just because the Micronaut app starts doesn't mean all the steps worked. I guess I need to add more checks to give more and better error messages. |
@timfel,
|
I've updated the example README.md in https://github.com/graalvm/graalvm-demos/pull/258/files#diff-bb620106d27f119fde8a27fd423fff11cfa0636260ca891f70af44ae1b6a4dddR21. |
Did you |
@olyagpl that isn't correctly copied. You should have |
I suppose my README was a bit terse
By this I meant that you want the |
Something else seems to be weird with your build @olyagpl - there should already be a |
The text was updated successfully, but these errors were encountered: