-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Minimal embedded Jetty program compiles to native exe but throws an java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jetty.http.HttpTokens #2847
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
Comments
Do you get the same error while using the current version v20.2.0? what happens if you remove the |
Same issue with 20.2.0. I tried the dev build to see if it was an issue already fixed before reporting it. Without that flag, I get:
|
if I add "-H:+ReportExceptionStackTraces" and run it, I get:
|
The underlying issue here is incomplete |
Describe the issue
Minimal embedded Jetty program compiles to native exe but throws an java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jetty.http.HttpTokens error when connecting to http://localhost:8080
This is using the latest Jetty 9.4.31.v20200723, however, everything works fine reverting to Jetty version 9.4.3.v20170317.
Steps to reproduce the issue
Describe GraalVM and your environment:
java -version
openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment GraalVM CE 20.3.0-dev (build 11.0.8+10-jvmci-20.2-b03)
OpenJDK 64-Bit Server VM GraalVM CE 20.3.0-dev (build 11.0.8+10-jvmci-20.2-b03, mixed mode, sharing)
The text was updated successfully, but these errors were encountered: