You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Native Image] Compilation for spring boot 3 application fails with : Error: ImageSingletons do not contain key com.oracle.svm.hosted.ProgressReporterFeature
#10540
Open
1 task
abhimintoak opened this issue
Jan 23, 2025
· 4 comments
Hi @selhagani , thanks so much for the quick revert. We are using Java 17 and Spring boot: 3.2.4.
I tried using graal-23.0.2, with the project but still got the same error.
I don’t see which version of native-maven-plugin you’re using here. Could you please use the latest available one as well? Also please try generating the configuration files using the tracing agent. If this doesn't work then can you please create a concise reproducer for your issue so that we can investigate this on our side?
hi @selhagani , i tried with latest native-maven-plugin and now this error is gone. Thanks so much.
There is a new error i am facing. Should I mention it in this ticket or raise a new one?
Describe the Issue
Compilation for spring boot 3 application fails with :
Error: ImageSingletons do not contain key com.oracle.svm.hosted.ProgressReporterFeature
Describe GraalVM and your environment:
GraalVM version: 21.0.5-graal
JDK: openjdk version "17"
OS: MacOS 14.6.1
Maven Version: 3.9.8
Using the latest version of GraalVM can resolve many issues.
GraalVM Version
java version "21.0.5" 2024-10-15 LTS
Java(TM) SE Runtime Environment Oracle GraalVM 21.0.5+9.1 (build 21.0.5+9-LTS-jvmci-23.1-b48)
Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 21.0.5+9.1 (build 21.0.5+9-LTS-jvmci-23.1-b48, mixed mode, sharing)
Operating System and Version
MacOS 14.6.1
Build Command
${mvnHome}/bin/mvn clean package -Pnative native:build -X -e
-Dproject.version=${GitVersion_SemVer}
-Dmaven.test.skip=true
-Dquarkus.native.additional-build-args='--initialize-at-build-time=io.netty -H:DeadlockWatchdogInterval=10 -H:+DeadlockWatchdogExitOnTimeout -H:+TraceClassInitialization -H:+PrintAnalysisCallTree -J-Xmx6g'
Pom file
`
4.0.0
`
Expected Behavior
The error should not happen
Actual Behavior
Getting the error at build time:
Error: ImageSingletons do not contain key com.oracle.svm.hosted.ProgressReporterFeature
Steps to Reproduce
NA. The code-base is proprietary
Additional Context
No response
Build Log Output and Error Messages
No response
The text was updated successfully, but these errors were encountered: