[hibernate-validator] NoClassDefFoundError: org/joda/time/ReadableInstant
See original GitHub issueDescribe the bug We are working an an extension for camel-bean-validator (based on hibernate-validator) and experiencing this error while building in native mode:
Error: Unsupported features in 4 methods
Detailed message:
Error: Class initialization of org.hibernate.validator.internal.constraintvalidators.bv.time.future.FutureValidatorForReadablePartial failed. Use the option --initialize-at-run-time=org.hibernate.validator.internal.constraintvalidators.bv.time.future.FutureValidatorForReadablePartial to explicitly request delayed initialization of this class.
Original exception that caused the problem: java.lang.NoClassDefFoundError: org/joda/time/ReadableInstant
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at com.oracle.svm.hosted.classinitialization.ConfigurableClassInitialization.ensureClassInitialized(ConfigurableClassInitialization.java:153)
at com.oracle.svm.hosted.classinitialization.ConfigurableClassInitialization.computeInitKindAndMaybeInitializeClass(ConfigurableClassInitialization.java:557)
at com.oracle.svm.hosted.classinitialization.ConfigurableClassInitialization.computeInitKindAndMaybeInitializeClass(ConfigurableClassInitialization.java:116)
at com.oracle.svm.hosted.classinitialization.ConfigurableClassInitialization.maybeInitializeHosted(ConfigurableClassInitialization.java:144)
at com.oracle.svm.hosted.SVMHost.registerType(SVMHost.java:190)
at com.oracle.graal.pointsto.meta.AnalysisUniverse.createType(AnalysisUniverse.java:262)
at com.oracle.graal.pointsto.meta.AnalysisUniverse.lookupAllowUnresolved(AnalysisUniverse.java:203)
at com.oracle.graal.pointsto.meta.AnalysisUniverse.lookup(AnalysisUniverse.java:180)
at com.oracle.graal.pointsto.meta.AnalysisUniverse.lookup(AnalysisUniverse.java:74)
at com.oracle.graal.pointsto.infrastructure.WrappedConstantPool.lookupConstant(WrappedConstantPool.java:182)
at org.graalvm.compiler.java.BytecodeParser.lookupConstant(BytecodeParser.java:4153)
at org.graalvm.compiler.java.BytecodeParser.genLoadConstant(BytecodeParser.java:3824)
at org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:4961)
at org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3267)
at org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:3074)
at org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:976)
at org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:870)
at org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:84)
at org.graalvm.compiler.phases.Phase.run(Phase.java:49)
at org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:197)
at org.graalvm.compiler.phases.Phase.apply(Phase.java:42)
at org.graalvm.compiler.phases.Phase.apply(Phase.java:38)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:221)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:340)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.doParse(MethodTypeFlow.java:310)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureParsed(MethodTypeFlow.java:300)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.addContext(MethodTypeFlow.java:107)
at com.oracle.graal.pointsto.flow.SpecialInvokeTypeFlow.onObservedUpdate(InvokeTypeFlow.java:421)
at com.oracle.graal.pointsto.flow.TypeFlow.notifyObservers(TypeFlow.java:343)
at com.oracle.graal.pointsto.flow.TypeFlow.update(TypeFlow.java:385)
at com.oracle.graal.pointsto.flow.SourceTypeFlowBase.update(SourceTypeFlowBase.java:121)
at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:510)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:171)
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: java.lang.ClassNotFoundException: org.joda.time.ReadableInstant
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 39 more
Expected behavior Joda is not on classpath so it should not fail
To Reproduce Steps to reproduce the behavior:
- clone https://github.com/lburgazzoli/apache-camel-quarkus/tree/camel-bean-validator
- mvn clean install -DskipTests
- mvn clean install -Dnative -pl :camel-quarkus-integration-test-bean-validator
Environment (please complete the following information):
- Output of
uname -a
orver
: inux mars 5.3.9-300.fc31.x86_64 #1 SMP Wed Nov 6 16:13:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux - Output of
java -version
: openjdk version β1.8.0_232β, OpenJDK Runtime Environment (build 1.8.0_232-b09), OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode) - GraalVM version (if different from Java): openjdk version β1.8.0_232β, OpenJDK Runtime Environment (build 1.8.0_232-20191008104205.buildslave.jdk8u-src-tarβb07), OpenJDK 64-Bit GraalVM CE 19.2.1 (build 25.232-b07-jvmci-19.2-b03, mixed mode)
- Quarkus version or git rev: 1.0.0.CR1
Additional context
Runtime dependencies:
--- maven-dependency-plugin:3.1.1:tree (default-cli) @ camel-quarkus-integration-test-bean-validator ---
org.apache.camel.quarkus:camel-quarkus-integration-test-bean-validator:jar:0.3.2-SNAPSHOT
+- org.apache.camel.quarkus:camel-quarkus-bean-validator:jar:0.3.2-SNAPSHOT:compile
| +- org.apache.camel.quarkus:camel-quarkus-core:jar:0.3.2-SNAPSHOT:compile
| | +- io.quarkus:quarkus-arc:jar:1.0.0.CR1:compile
| | | +- io.quarkus.arc:arc:jar:1.0.0.CR1:compile
| | | \- org.eclipse.microprofile.context-propagation:microprofile-context-propagation-api:jar:1.0.1:compile
| | +- io.quarkus:quarkus-caffeine:jar:1.0.0.CR1:compile
| | | \- com.github.ben-manes.caffeine:caffeine:jar:2.6.2:compile
| | +- org.apache.camel:camel-main:jar:3.0.0-RC3:compile
| | +- org.apache.camel:camel-core-engine:jar:3.0.0-RC3:compile
| | | +- org.apache.camel:spi-annotations:jar:3.0.0-RC3:compile
| | | +- org.apache.camel:camel-api:jar:3.0.0-RC3:compile
| | | +- org.apache.camel:camel-management-api:jar:3.0.0-RC3:compile
| | | +- org.apache.camel:camel-util:jar:3.0.0-RC3:compile
| | | \- org.apache.camel:camel-util-json:jar:3.0.0-RC3:compile
| | +- org.apache.camel:camel-base:jar:3.0.0-RC3:compile
| | +- org.apache.camel:camel-caffeine-lrucache:jar:3.0.0-RC3:compile
| | +- org.apache.camel:camel-microprofile-config:jar:3.0.0-RC3:compile
| | | \- org.eclipse.microprofile.config:microprofile-config-api:jar:1.3:compile
| | \- org.apache.camel.quarkus:camel-quarkus-support-common:jar:0.3.2-SNAPSHOT:compile
| +- io.quarkus:quarkus-hibernate-validator:jar:1.0.0.CR1:compile
| | \- org.hibernate.validator:hibernate-validator:jar:6.1.0.Final:compile
| | \- com.fasterxml:classmate:jar:1.3.4:compile
| +- org.apache.camel:camel-bean-validator:jar:3.0.0-RC3:compile
| | +- org.apache.camel:camel-support:jar:3.0.0-RC3:compile
| | +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
| | \- org.slf4j:slf4j-api:jar:1.7.25:compile
| \- org.glassfish:jakarta.el:jar:3.0.3:compile
+- org.apache.camel.quarkus:camel-quarkus-direct:jar:0.3.2-SNAPSHOT:compile
| \- org.apache.camel:camel-direct:jar:3.0.0-RC3:compile
+- io.quarkus:quarkus-resteasy:jar:1.0.0.CR1:compile
| +- io.quarkus:quarkus-vertx-http:jar:1.0.0.CR1:compile
| | +- io.quarkus.security:quarkus-security:jar:1.0.0.Beta1:compile
| | +- jakarta.enterprise:jakarta.enterprise.cdi-api:jar:2.0.2:compile
| | | +- jakarta.el:jakarta.el-api:jar:3.0.3:compile
| | | \- jakarta.interceptor:jakarta.interceptor-api:jar:1.2.5:compile
| | | \- jakarta.ejb:jakarta.ejb-api:jar:3.2.6:compile
| | | \- jakarta.transaction:jakarta.transaction-api:jar:1.3.3:compile
| | +- io.quarkus:quarkus-vertx-core:jar:1.0.0.CR1:compile
| | | +- io.quarkus:quarkus-netty:jar:1.0.0.CR1:compile
| | | | +- io.netty:netty-codec:jar:4.1.42.Final:compile
| | | | \- io.netty:netty-handler:jar:4.1.42.Final:compile
| | | \- io.vertx:vertx-core:jar:3.8.3:compile
| | | +- io.netty:netty-common:jar:4.1.42.Final:compile
| | | +- io.netty:netty-buffer:jar:4.1.42.Final:compile
| | | +- io.netty:netty-transport:jar:4.1.42.Final:compile
| | | +- io.netty:netty-handler-proxy:jar:4.1.42.Final:compile
| | | | \- io.netty:netty-codec-socks:jar:4.1.42.Final:compile
| | | +- io.netty:netty-codec-http:jar:4.1.42.Final:compile
| | | +- io.netty:netty-codec-http2:jar:4.1.42.Final:compile
| | | +- io.netty:netty-resolver:jar:4.1.42.Final:compile
| | | +- io.netty:netty-resolver-dns:jar:4.1.42.Final:compile
| | | | \- io.netty:netty-codec-dns:jar:4.1.42.Final:compile
| | | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.10:compile
| | \- io.vertx:vertx-web:jar:3.8.3-01:compile
| | +- io.vertx:vertx-web-common:jar:3.8.3-01:compile
| | +- io.vertx:vertx-auth-common:jar:3.8.3:compile
| | \- io.vertx:vertx-bridge-common:jar:3.8.3:compile
| \- io.quarkus:quarkus-resteasy-server-common:jar:1.0.0.CR1:compile
| +- io.quarkus:quarkus-resteasy-common:jar:1.0.0.CR1:compile
| | +- org.jboss.resteasy:resteasy-core:jar:4.4.0.Final:compile
| | | +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.1_spec:jar:2.0.1.Final:compile
| | | +- org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec:jar:2.0.0.Final:compile
| | | +- org.jboss.resteasy:resteasy-core-spi:jar:4.4.0.Final:compile
| | | \- org.reactivestreams:reactive-streams:jar:1.0.3:compile
| | \- com.sun.activation:jakarta.activation:jar:1.2.1:compile
| \- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile
+- io.quarkus:quarkus-junit5:jar:1.0.0.CR1:test
| +- io.quarkus:quarkus-bootstrap-core:jar:1.0.0.CR1:test
| | +- com.google.guava:guava:jar:27.0.1-jre:test
| | | +- com.google.guava:failureaccess:jar:1.0.1:test
| | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:test
| | | +- com.google.code.findbugs:jsr305:jar:3.0.2:test
| | | +- org.checkerframework:checker-qual:jar:2.5.2:test
| | | +- com.google.errorprone:error_prone_annotations:jar:2.2.0:test
| | | +- com.google.j2objc:j2objc-annotations:jar:1.1:test
| | | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.17:test
| | +- org.apache.commons:commons-lang3:jar:3.9:test
| | +- org.apache.maven:maven-embedder:jar:3.5.4:test
| | | +- org.apache.maven:maven-settings:jar:3.5.4:test
| | | +- org.apache.maven:maven-core:jar:3.5.4:test
| | | | \- org.apache.maven:maven-artifact:jar:3.5.4:test
| | | +- org.apache.maven:maven-plugin-api:jar:3.5.4:test
| | | +- org.apache.maven:maven-model:jar:3.5.4:test
| | | +- org.apache.maven:maven-model-builder:jar:3.5.4:test
| | | +- org.apache.maven:maven-builder-support:jar:3.5.4:test
| | | +- org.apache.maven.resolver:maven-resolver-api:jar:1.1.1:test
| | | +- org.apache.maven.resolver:maven-resolver-util:jar:1.1.1:test
| | | +- org.apache.maven.shared:maven-shared-utils:jar:3.2.1:test
| | | | \- commons-io:commons-io:jar:2.6:test
| | | +- com.google.inject:guice:jar:no_aop:4.2.0:test
| | | | \- aopalliance:aopalliance:jar:1.0:test
| | | +- org.codehaus.plexus:plexus-utils:jar:3.0.24:test
| | | +- org.codehaus.plexus:plexus-classworlds:jar:2.5.2:test
| | | +- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.3:test
| | | +- org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:test
| | | \- commons-cli:commons-cli:jar:1.4:test
| | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
| | +- jakarta.inject:jakarta.inject-api:jar:1.0:compile
| | +- org.apache.maven:maven-settings-builder:jar:3.5.4:test
| | | +- org.codehaus.plexus:plexus-interpolation:jar:1.24:test
| | | \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4:test
| | | \- org.sonatype.plexus:plexus-cipher:jar:1.4:test
| | +- org.apache.maven:maven-resolver-provider:jar:3.5.4:test
| | | +- org.apache.maven:maven-repository-metadata:jar:3.5.4:test
| | | +- org.apache.maven.resolver:maven-resolver-spi:jar:1.1.1:test
| | | \- org.apache.maven.resolver:maven-resolver-impl:jar:1.1.1:test
| | +- org.apache.maven.resolver:maven-resolver-connector-basic:jar:1.1.1:test
| | +- org.apache.maven.resolver:maven-resolver-transport-wagon:jar:1.1.1:test
| | | \- org.apache.maven.wagon:wagon-provider-api:jar:3.0.0:test
| | +- org.apache.maven.wagon:wagon-http:jar:3.0.0:test
| | | \- org.apache.maven.wagon:wagon-http-shared:jar:3.0.0:test
| | | \- org.jsoup:jsoup:jar:1.7.2:test
| | +- org.apache.maven.wagon:wagon-file:jar:3.0.0:test
| | \- org.jboss.logging:commons-logging-jboss-logging:jar:1.0.0.Final:test
| +- io.quarkus:quarkus-test-common:jar:1.0.0.CR1:test
| | +- io.quarkus:quarkus-core-deployment:jar:1.0.0.CR1:test
| | | +- io.quarkus.gizmo:gizmo:jar:1.0.0.Alpha8:test
| | | | \- org.ow2.asm:asm-util:jar:7.1:test
| | | | +- org.ow2.asm:asm-tree:jar:7.1:test
| | | | \- org.ow2.asm:asm-analysis:jar:7.1:test
| | | +- org.ow2.asm:asm:jar:7.1:test
| | | \- io.quarkus:quarkus-builder:jar:1.0.0.CR1:test
| | +- io.quarkus:quarkus-jsonp-deployment:jar:1.0.0.CR1:test
| | | \- io.quarkus:quarkus-jsonp:jar:1.0.0.CR1:test
| | | \- org.glassfish:jakarta.json:jar:1.1.6:test
| | \- org.jboss:jandex:jar:2.1.1.Final:test
| +- org.junit.jupiter:junit-jupiter:jar:5.5.2:test
| | +- org.junit.jupiter:junit-jupiter-api:jar:5.5.2:test
| | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test
| | | +- org.opentest4j:opentest4j:jar:1.2.0:test
| | | \- org.junit.platform:junit-platform-commons:jar:1.5.2:test
| | +- org.junit.jupiter:junit-jupiter-params:jar:5.5.2:test
| | \- org.junit.jupiter:junit-jupiter-engine:jar:5.5.2:test
| | \- org.junit.platform:junit-platform-engine:jar:1.5.2:test
| \- io.quarkus:quarkus-core:jar:1.0.0.CR1:compile
| +- io.smallrye:smallrye-config:jar:1.3.9:compile
| +- org.jboss.logmanager:jboss-logmanager-embedded:jar:1.0.3:compile
| +- org.jboss.logging:jboss-logging-annotations:jar:2.1.0.Final:compile
| +- org.jboss.threads:jboss-threads:jar:3.0.0.Final:compile
| +- org.jboss.slf4j:slf4j-jboss-logging:jar:1.2.0.Final:compile
| +- org.graalvm.sdk:graal-sdk:jar:19.2.1:compile
| \- org.wildfly.common:wildfly-common:jar:1.5.0.Final-format-001:compile
\- io.rest-assured:rest-assured:jar:4.1.1:test
+- org.codehaus.groovy:groovy:jar:2.5.6:test
+- org.codehaus.groovy:groovy-xml:jar:2.5.6:test
+- org.apache.httpcomponents:httpclient:jar:4.5.9:test
| +- org.apache.httpcomponents:httpcore:jar:4.4.11:test
| \- commons-codec:commons-codec:jar:1.13:test
+- org.apache.httpcomponents:httpmime:jar:4.5.3:test
+- org.hamcrest:hamcrest:jar:2.1:test
+- org.ccil.cowan.tagsoup:tagsoup:jar:1.2.1:test
+- io.rest-assured:json-path:jar:4.1.1:test
| +- org.codehaus.groovy:groovy-json:jar:2.5.6:test
| \- io.rest-assured:rest-assured-common:jar:4.1.1:test
\- io.rest-assured:xml-path:jar:4.1.1:test
+- javax.xml.bind:jaxb-api:jar:2.3.1:test
\- org.apache.sling:org.apache.sling.javax.activation:jar:0.1.0:test
Build dependencies:
org.apache.camel.quarkus:camel-quarkus-integration-test-bean-validator:jar:0.3.2-SNAPSHOT
ββ org.apache.camel.quarkus:camel-quarkus-bean-validator-deployment:jar:0.3.2-SNAPSHOT (compile)
β ββ io.quarkus:quarkus-hibernate-validator-deployment:jar:1.0.0.CR1 (compile)
β β ββ io.quarkus:quarkus-core-deployment:jar:1.0.0.CR1 (compile)
β β β ββ org.wildfly.common:wildfly-common:jar:1.5.0.Final-format-001 (compile)
β β β ββ io.quarkus.gizmo:gizmo:jar:1.0.0.Alpha8 (compile)
β β β β ββ org.ow2.asm:asm-util:jar:7.1 (compile)
β β β β ββ org.ow2.asm:asm-tree:jar:7.1 (compile)
β β β β ββ org.ow2.asm:asm-analysis:jar:7.1 (compile)
β β β ββ org.jboss:jandex:jar:2.1.1.Final (compile)
β β β ββ org.ow2.asm:asm:jar:7.1 (compile)
β β β ββ io.quarkus:quarkus-bootstrap-core:jar:1.0.0.CR1 (compile)
β β β β ββ com.google.guava:guava:jar:27.0.1-jre (compile)
β β β β β ββ com.google.guava:failureaccess:jar:1.0.1 (compile)
β β β β β ββ com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava (compile)
β β β β β ββ com.google.code.findbugs:jsr305:jar:3.0.2 (compile)
β β β β β ββ org.checkerframework:checker-qual:jar:2.5.2 (compile)
β β β β β ββ com.google.errorprone:error_prone_annotations:jar:2.2.0 (compile)
β β β β β ββ com.google.j2objc:j2objc-annotations:jar:1.1 (compile)
β β β β β ββ org.codehaus.mojo:animal-sniffer-annotations:jar:1.17 (compile)
β β β β ββ org.apache.commons:commons-lang3:jar:3.9 (compile)
β β β β ββ org.apache.maven:maven-embedder:jar:3.5.4 (compile)
β β β β β ββ org.apache.maven:maven-settings:jar:3.5.4 (compile)
β β β β β ββ org.apache.maven:maven-core:jar:3.5.4 (compile)
β β β β β β ββ org.apache.maven:maven-artifact:jar:3.5.4 (compile)
β β β β β ββ org.apache.maven:maven-plugin-api:jar:3.5.4 (compile)
β β β β β ββ org.apache.maven:maven-model:jar:3.5.4 (compile)
β β β β β ββ org.apache.maven:maven-model-builder:jar:3.5.4 (compile)
β β β β β ββ org.apache.maven:maven-builder-support:jar:3.5.4 (compile)
β β β β β ββ org.apache.maven.resolver:maven-resolver-api:jar:1.1.1 (compile)
β β β β β ββ org.apache.maven.resolver:maven-resolver-util:jar:1.1.1 (compile)
β β β β β ββ org.apache.maven.shared:maven-shared-utils:jar:3.2.1 (compile)
β β β β β β ββ commons-io:commons-io:jar:2.6 (compile)
β β β β β ββ com.google.inject:guice:jar:no_aop:4.2.0 (compile)
β β β β β β ββ aopalliance:aopalliance:jar:1.0 (compile)
β β β β β ββ org.codehaus.plexus:plexus-utils:jar:3.0.24 (compile)
β β β β β ββ org.codehaus.plexus:plexus-classworlds:jar:2.5.2 (compile)
β β β β β ββ org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.3 (compile)
β β β β β ββ org.codehaus.plexus:plexus-component-annotations:jar:1.7.1 (compile)
β β β β β ββ commons-cli:commons-cli:jar:1.4 (compile)
β β β β ββ jakarta.inject:jakarta.inject-api:jar:1.0 (compile)
β β β β ββ org.apache.maven:maven-settings-builder:jar:3.5.4 (compile)
β β β β β ββ org.codehaus.plexus:plexus-interpolation:jar:1.24 (compile)
β β β β β ββ org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4 (compile)
β β β β β ββ org.sonatype.plexus:plexus-cipher:jar:1.4 (compile)
β β β β ββ org.apache.maven:maven-resolver-provider:jar:3.5.4 (compile)
β β β β β ββ org.apache.maven:maven-repository-metadata:jar:3.5.4 (compile)
β β β β β ββ org.apache.maven.resolver:maven-resolver-spi:jar:1.1.1 (compile)
β β β β β ββ org.apache.maven.resolver:maven-resolver-impl:jar:1.1.1 (compile)
β β β β ββ org.apache.maven.resolver:maven-resolver-connector-basic:jar:1.1.1 (compile)
β β β β ββ org.apache.maven.resolver:maven-resolver-transport-wagon:jar:1.1.1 (compile)
β β β β β ββ org.apache.maven.wagon:wagon-provider-api:jar:3.0.0 (compile)
β β β β ββ org.apache.maven.wagon:wagon-http:jar:3.0.0 (compile)
β β β β β ββ org.apache.maven.wagon:wagon-http-shared:jar:3.0.0 (compile)
β β β β β β ββ org.jsoup:jsoup:jar:1.7.2 (compile)
β β β β β ββ org.apache.httpcomponents:httpclient:jar:4.5.9 (compile)
β β β β β β ββ commons-codec:commons-codec:jar:1.13 (compile)
β β β β β ββ org.apache.httpcomponents:httpcore:jar:4.4.11 (compile)
β β β β ββ org.apache.maven.wagon:wagon-file:jar:3.0.0 (compile)
β β β β ββ org.jboss.logging:commons-logging-jboss-logging:jar:1.0.0.Final (runtime)
β β β ββ io.quarkus:quarkus-core:jar:1.0.0.CR1 (compile)
β β β β ββ io.smallrye:smallrye-config:jar:1.3.9 (compile)
β β β β ββ org.jboss.logmanager:jboss-logmanager-embedded:jar:1.0.3 (compile)
β β β β ββ org.jboss.logging:jboss-logging-annotations:jar:2.1.0.Final (compile)
β β β β ββ org.jboss.threads:jboss-threads:jar:3.0.0.Final (compile)
β β β β ββ org.jboss.slf4j:slf4j-jboss-logging:jar:1.2.0.Final (compile)
β β β ββ io.quarkus:quarkus-builder:jar:1.0.0.CR1 (compile)
β β β ββ org.graalvm.sdk:graal-sdk:jar:19.2.1 (compile)
β β ββ io.quarkus:quarkus-resteasy-server-common-spi:jar:1.0.0.CR1 (compile)
β β ββ io.quarkus:quarkus-hibernate-validator:jar:1.0.0.CR1 (compile)
β β ββ org.hibernate.validator:hibernate-validator:jar:6.1.0.Final (compile)
β β ββ com.fasterxml:classmate:jar:1.3.4 (compile)
β ββ org.apache.camel.quarkus:camel-quarkus-core-deployment:jar:0.3.2-SNAPSHOT (compile)
β β ββ io.quarkus:quarkus-caffeine-deployment:jar:1.0.0.CR1 (compile)
β β β ββ io.quarkus:quarkus-caffeine:jar:1.0.0.CR1 (compile)
β β β ββ com.github.ben-manes.caffeine:caffeine:jar:2.6.2 (compile)
β β ββ org.apache.camel.quarkus:camel-quarkus-support-common-deployment:jar:0.3.2-SNAPSHOT (compile)
β β β ββ org.apache.camel.quarkus:camel-quarkus-support-common:jar:0.3.2-SNAPSHOT (compile)
β β ββ org.apache.camel.quarkus:camel-quarkus-core:jar:0.3.2-SNAPSHOT (compile)
β β ββ org.apache.camel:camel-main:jar:3.0.0-RC3 (compile)
β β ββ org.apache.camel:camel-core-engine:jar:3.0.0-RC3 (compile)
β β β ββ org.apache.camel:spi-annotations:jar:3.0.0-RC3 (compile)
β β β ββ org.apache.camel:camel-api:jar:3.0.0-RC3 (compile)
β β β ββ org.apache.camel:camel-management-api:jar:3.0.0-RC3 (compile)
β β β ββ org.apache.camel:camel-util:jar:3.0.0-RC3 (compile)
β β β ββ org.apache.camel:camel-util-json:jar:3.0.0-RC3 (compile)
β β ββ org.apache.camel:camel-base:jar:3.0.0-RC3 (compile)
β β ββ org.apache.camel:camel-caffeine-lrucache:jar:3.0.0-RC3 (compile)
β β ββ org.apache.camel:camel-microprofile-config:jar:3.0.0-RC3 (compile)
β β ββ org.eclipse.microprofile.config:microprofile-config-api:jar:1.3 (compile)
β ββ org.apache.camel.quarkus:camel-quarkus-bean-validator:jar:0.3.2-SNAPSHOT (compile)
β ββ org.apache.camel:camel-bean-validator:jar:3.0.0-RC3 (compile)
β β ββ org.apache.camel:camel-support:jar:3.0.0-RC3 (compile)
β β ββ org.jboss.logging:jboss-logging:jar:3.3.2.Final (compile)
β β ββ org.slf4j:slf4j-api:jar:1.7.25 (compile)
β ββ org.glassfish:jakarta.el:jar:3.0.3 (compile)
ββ org.apache.camel.quarkus:camel-quarkus-direct-deployment:jar:0.3.2-SNAPSHOT (compile)
β ββ org.apache.camel.quarkus:camel-quarkus-direct:jar:0.3.2-SNAPSHOT (compile)
β ββ org.apache.camel:camel-direct:jar:3.0.0-RC3 (compile)
ββ io.quarkus:quarkus-resteasy-deployment:jar:1.0.0.CR1 (compile)
ββ io.quarkus:quarkus-resteasy-server-common-deployment:jar:1.0.0.CR1 (compile)
β ββ io.quarkus:quarkus-resteasy-common-deployment:jar:1.0.0.CR1 (compile)
β β ββ io.quarkus:quarkus-resteasy-common:jar:1.0.0.CR1 (compile)
β β β ββ org.jboss.resteasy:resteasy-core:jar:4.4.0.Final (compile)
β β β β ββ org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.1_spec:jar:2.0.1.Final (compile)
β β β β ββ org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec:jar:2.0.0.Final (compile)
β β β β ββ org.jboss.resteasy:resteasy-core-spi:jar:4.4.0.Final (compile)
β β β β ββ org.reactivestreams:reactive-streams:jar:1.0.3 (compile)
β β β ββ com.sun.activation:jakarta.activation:jar:1.2.1 (compile)
β β ββ io.quarkus:quarkus-resteasy-common-spi:jar:1.0.0.CR1 (compile)
β ββ io.quarkus:quarkus-resteasy-server-common:jar:1.0.0.CR1 (compile)
β ββ jakarta.validation:jakarta.validation-api:jar:2.0.2 (compile)
ββ io.quarkus:quarkus-undertow-spi:jar:1.0.0.CR1 (compile)
β ββ io.quarkus.http:quarkus-http-servlet:jar:3.0.0.Beta3 (compile)
β β ββ io.quarkus.http:quarkus-http-core:jar:3.0.0.Beta3 (compile)
β β ββ io.quarkus.http:quarkus-http-http-core:jar:3.0.0.Beta3 (compile)
β β β ββ io.netty:netty-buffer:jar:4.1.42.Final (compile)
β β ββ io.netty:netty-codec-http:jar:4.1.42.Final (compile)
β β ββ io.netty:netty-common:jar:4.1.42.Final (compile)
β β ββ io.netty:netty-transport:jar:4.1.42.Final (compile)
β β ββ io.netty:netty-codec:jar:4.1.42.Final (compile)
β β ββ io.netty:netty-handler:jar:4.1.42.Final (compile)
β ββ jakarta.servlet:jakarta.servlet-api:jar:4.0.3 (compile)
β ββ org.jboss.metadata:jboss-metadata-web:jar:11.0.0.Final (compile)
β ββ org.jboss.metadata:jboss-metadata-common:jar:11.0.0.Final (compile)
ββ io.quarkus:quarkus-vertx-http-deployment:jar:1.0.0.CR1 (compile)
β ββ io.quarkus:quarkus-vertx-core-deployment:jar:1.0.0.CR1 (compile)
β β ββ io.quarkus:quarkus-netty-deployment:jar:1.0.0.CR1 (compile)
β β β ββ io.quarkus:quarkus-netty:jar:1.0.0.CR1 (compile)
β β ββ io.quarkus:quarkus-vertx-core:jar:1.0.0.CR1 (compile)
β β ββ io.vertx:vertx-core:jar:3.8.3 (compile)
β β ββ io.netty:netty-handler-proxy:jar:4.1.42.Final (compile)
β β β ββ io.netty:netty-codec-socks:jar:4.1.42.Final (compile)
β β ββ io.netty:netty-codec-http2:jar:4.1.42.Final (compile)
β β ββ io.netty:netty-resolver:jar:4.1.42.Final (compile)
β β ββ io.netty:netty-resolver-dns:jar:4.1.42.Final (compile)
β β β ββ io.netty:netty-codec-dns:jar:4.1.42.Final (compile)
β β ββ com.fasterxml.jackson.core:jackson-core:jar:2.9.10 (compile)
β ββ io.quarkus:quarkus-vertx-http:jar:1.0.0.CR1 (compile)
β β ββ io.quarkus.security:quarkus-security:jar:1.0.0.Beta1 (compile)
β β ββ jakarta.enterprise:jakarta.enterprise.cdi-api:jar:2.0.2 (compile)
β β β ββ jakarta.el:jakarta.el-api:jar:3.0.3 (compile)
β β β ββ jakarta.interceptor:jakarta.interceptor-api:jar:1.2.5 (compile)
β β β ββ jakarta.ejb:jakarta.ejb-api:jar:3.2.6 (compile)
β β β ββ jakarta.transaction:jakarta.transaction-api:jar:1.3.3 (compile)
β β ββ io.vertx:vertx-web:jar:3.8.3-01 (compile)
β β ββ io.vertx:vertx-web-common:jar:3.8.3-01 (compile)
β β ββ io.vertx:vertx-auth-common:jar:3.8.3 (compile)
β β ββ io.vertx:vertx-bridge-common:jar:3.8.3 (compile)
β ββ io.quarkus:quarkus-kubernetes-spi:jar:1.0.0.CR1 (compile)
ββ io.quarkus:quarkus-arc-deployment:jar:1.0.0.CR1 (compile)
β ββ io.quarkus:quarkus-arc:jar:1.0.0.CR1 (compile)
β β ββ io.quarkus.arc:arc:jar:1.0.0.CR1 (compile)
β β ββ org.eclipse.microprofile.context-propagation:microprofile-context-propagation-api:jar:1.0.1 (compile)
β ββ io.quarkus.arc:arc-processor:jar:1.0.0.CR1 (compile)
β ββ jakarta.annotation:jakarta.annotation-api:jar:1.3.5 (compile)
ββ io.quarkus:quarkus-resteasy:jar:1.0.0.CR1 (compile)
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
getting error java.lang.NoClassDefFoundError: org/hibernate ...
hibernate.validator . Once I made that change, the error went away, however I am using Dropwizard and noticed that there may be a...
Read more >[Solved] java.lang.NoClassDefFoundError: Could not initialize ...
This problem is due to incorrect version of βhibernate-validatorβ dependency. You need to try other versions of this dependency to solve thisΒ ...
Read more >java.lang.NoClassDefFoundError: org/hibernate/validator/even
I am newbie and trying to integrate glassfish with hibernate. I am getting the following error msg when server starts java.lang.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
as I said above:
the presence of that class affects possible code flows: the code analysis of the compiler is no longer sure of how exactly the Validator(s) are going to be initialized - bypassing the guidance that the Quarkus extension normally provides to avoid such issues.
Itβs very similar to what was happening with #5343 - which was driving me nuts debugging the compiler and yet the solution was very simple, as it didnβt set a static field to the right value.
I donβt really want to improve that because I donβt want people to initialize their own
ValidatorFactory
.It wonβt work properly as itβs not a good idea to initialize it yourself: it has to be initialized at static init and carefully configured (itβs not entirely impossible to do it manually but it requires some advanced knowledge, access to the Jandex index and it doesnβt appear as a good idea).