-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
native-image fails to build for a jar containing the JDBC MySQL driver #1924
Comments
Have you tried using |
I tried now. It told me to add
|
OK, this is now a separate issue. Assigning accordingly. |
Can you try with the latest GraalVM built from master? Problems like |
Are there any prebuilt binaries (aka "nightly builds") available or do I need to build it myself? |
You would need to build it yourself for now. We plan to have nightlies in the near future. Instructions for building are here https://github.com/oracle/graal/tree/master/vm#vm-suite |
Well it definitely got further this time. I used commit fa02eac and this JDK build (unpacking it and setting Contents/Home as JAVA_HOME did the trick). I tried different combinations of
|
Tried adding |
Maybe related quarkusio/quarkus#7936 ? |
Quarkus currently contains the necessary config for MySql. See #1748 (comment) |
MySQL driver version: 8.0.18 (from Maven)
Build command and its output:
I used
--allow-incomplete-classpath
because the Spark framework uses the SLF4J logging library only if it's available on the classpath, and I don't want to include it in my build.The text was updated successfully, but these errors were encountered: