-
Notifications
You must be signed in to change notification settings - Fork 599
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 error #979
Comments
Could this be specific to gradle (you are using a pre-release version)? CI runs on GraalVM 21 without issues: #983 |
Maybe I need to invite a gradle expert @melix to help take a look at this issue |
@kkriske I have the same issue in my application, without gradle. My workflow is roughly the following: > /usr/lib/jvm/java-21-graalvm/bin/java -agentlib:native-image-agent=config-output-dir=META-INF/native-image -jar build/libs/opdsko-all.jar
# some logs here, also performing a couple of curl requests to warm tha application up a bit
> /usr/lib/jvm/java-21-graalvm/bin/native-image -jar build/libs/opdsko-all.jar
========================================================================================================================
GraalVM Native Image: Generating 'opdsko-all' (executable)...
========================================================================================================================
[1/8] Initializing...
(0.0s @ 0.27GB)
Error: Feature org.sqlite.nativeimage.SqliteJdbcFeature class not found on the classpath. Ensure that the name is correct and that the class is on the classpath.
------------------------------------------------------------------------------------------------------------------------
0.6s (18.4% of total time) in 19 GCs | Peak RSS: 0.92GB | CPU load: 6.73
========================================================================================================================
Finished generating 'opdsko-all' in 2.8s. Tried the same with official Liberica NIK, without success either |
It seems to me that even native-image does not pick up this |
I'll try to find some time to take a look, if you share the project. |
I get the error on this project: https://github.com/asm0dey/opdsko |
The text was updated successfully, but these errors were encountered: