We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
java.lang.ClassNotFoundException: java.lang.Integer
I have a pretty basic scenario that uses the quarkus-config-yaml Quarkus extension and it fails after build the Native image with:
quarkus-config-yaml
[INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running io.quarkus.qe.configmapping.NativeConfigMappingResourceIT Executing [/home/jcarvaja/sources/beefy-scenarios/022-quarkus-properties-config-all/target/022-quarkus-properties-config-all-1.0.0-SNAPSHOT-runner, -Dquarkus.http.port=8081, -Dquarkus.http.ssl-port=8444, -Dtest.url=http://localhost:8081, -Dquarkus.log.file.path=/home/jcarvaja/sources/beefy-scenarios/022-quarkus-properties-config-all/target/quarkus.log, -Dquarkus.log.file.enable=true] __ ____ __ _____ ___ __ ____ ______ --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \ --\___\_\____/_/ |_/_/|_/_/|_|\____/___/ 2021-07-19 15:38:46,717 ERROR [io.qua.run.Application] (main) Failed to start application (with profile prod): java.lang.ClassNotFoundException: java.lang.Integer at com.oracle.svm.core.hub.ClassForNameSupport.forName(ClassForNameSupport.java:64) at java.lang.Class.forName(DynamicHub.java:1308) at io.quarkus.arc.runtime.ConfigRecorder.load(ConfigRecorder.java:102) at io.quarkus.arc.runtime.ConfigRecorder.validateConfigProperties(ConfigRecorder.java:48) at io.quarkus.deployment.steps.ConfigBuildStep$validateConfigProperties1249763973.deploy_0(ConfigBuildStep$validateConfigProperties1249763973.zig:282) at io.quarkus.deployment.steps.ConfigBuildStep$validateConfigProperties1249763973.deploy(ConfigBuildStep$validateConfigProperties1249763973.zig:40) at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:535) at io.quarkus.runtime.Application.start(Application.java:101) at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:101) at io.quarkus.runtime.Quarkus.run(Quarkus.java:66) at io.quarkus.runtime.Quarkus.run(Quarkus.java:42) at io.quarkus.runtime.Quarkus.run(Quarkus.java:119) at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29) Application was not started: 2021-07-19 15:38:46,717 localhost NativeImageGeneratorRunner$JDK9Plus[24] ERROR [io.qua.run.Application] (main) Failed to start application (with profile prod): java.lang.ClassNotFoundException: java.lang.Integer
I don't think this issue is related to the quarkus-config-yaml extension as I saw the same error using the reactive Kafka extension.
Doing exactly the same using 2.0.2.Final works fine, but not with 2.1.0.CR1 or 999-SNAPSHOT.
No response
All the tests should pass, but the Native tests are failing.
uname -a
ver
java -version
mvnw --version
gradlew --version
The text was updated successfully, but these errors were encountered:
Fix native regressions in Config validation
c85b802
Fixes: quarkusio#18814
Good catch @Sgitario , just in time for the Final!
Sorry, something went wrong.
Merge pull request #18825 from geoand/#18814
853b1fa
Fix native regression in Config validation
abb2e13
Fixes: quarkusio#18814 (cherry picked from commit c85b802)
geoand
Successfully merging a pull request may close this issue.
Describe the bug
I have a pretty basic scenario that uses the
quarkus-config-yaml
Quarkus extension and it fails after build the Native image with:I don't think this issue is related to the
quarkus-config-yaml
extension as I saw the same error using the reactive Kafka extension.Doing exactly the same using 2.0.2.Final works fine, but not with 2.1.0.CR1 or 999-SNAPSHOT.
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
All the tests should pass, but the Native tests are failing.
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: