updating dropwizard to 2.0.13 causes issues with jersey abstractBinder (using <artifactId>dropwizard-bom</artifactId>)
envgap__dropwizard__dropwizard-3451
Original GitHub issue ↗Opened 2020-09-07
01 / FAILURE SIGNATURE
As reported upstream
java.lang.NoClassDefFoundError: org/glassfish/jersey/internal/inject/AbstractBinder
Not a benchmark task.
- No curated issue-specific recipe or verified environment fix is available.
02 / ENVIRONMENT RECIPE
- Base commit
Not freshly verified- Manifest
pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
dropwizard/dropwizard #3451 · read the original issue
Getting ``` java.lang.NoClassDefFoundError: org/glassfish/jersey/internal/inject/AbstractBinder Caused by: java.lang.ClassNotFoundException: org.glassfish.jersey.internal.inject.AbstractBinder ``` When I update my project to latest dropwizard. apparently there's a dependency issue here `mvn dependency:tree`: ``` io.dropwizard:dropwizard-core:jar:2.0.13:compile [INFO] | +- io.dropwizard:dropwizard-util:jar:2.0.13:compile [INFO] | +- io.dropwizard:dropwizard-jackson:jar:2.0.13:compile [INFO] | | +- com.github.ben-manes.caffeine:caffeine:jar:2.8.5:compile [INFO] | | | \- org.checkerframework:checker-qual:jar:3.4.1:compile [INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.11.2:compile [INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.11.2:compile [INFO] | | +- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.11.2:compile [INFO] | | +- com.fasterxml.jackson.module:jackson-module-afterburner:jar:2.11.2:compile [INFO] | | \- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.11.2:compile [INFO] | +- io.dropwizard:dropwizard-validation:jar:2.0.13:compile [INFO] | | \- org.glassfish:jakarta.el:jar:3.0.3:runtime [INFO] | +- io.dropwizard:dropwizard-configuration:jar:2.0.13:compile [INFO] | | \- org.apache.commons:commons-text:jar:1.9:compile [INFO] | +- io.dropwizard:dropwizard-logging:jar:2.0.13:compile [INFO] | | +- io.dropwizard.metrics:metrics-logback:jar:4.0.5:compile [INFO] | | +- org.slf4j:jul-to-slf4j:jar:1.7.26:compile [INFO] | | +- ch.qos.logback:logback-core:jar:1.2.3:compile [INFO] | | +- io.dropwizard.logback:logback-throttling-appender:jar:1.1.0:compile [INFO] | | +- org.slf4j:log4j-over-slf4j:jar:1.7.30:test [INFO] | | \- org.slf4j:jcl-over-slf4j:jar:1.7.30:runtime [INFO] | +- io.dropwizard:dropwizard-metrics:jar:2.0.13:compile [INFO] | +- io.dropwizard:dropwizard-jersey:jar:2.0.13:compile [INFO] | | +- org.glassfish.jersey.ext:jersey-metainf-services:jar:2.25.1:runtime [INFO] | | +- org.glassfish.jersey.inject:jersey-hk2:jar:2.31:runtime [INFO] | | +- org.javassist:javassist:jar:3.24.1-GA:compile [INFO] | | +- io.dropwizard.metrics:metrics-jersey2:jar:4.0.5:compile [INFO] | | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile [INFO] | | +- org.glassfish.hk2:hk2-api:jar:2.6.1:compile [INFO] | | | +- org.glassfish.hk2:hk2-utils:jar:2.6.1:compile [INFO] | | | \- org.glassfish.hk2.external:aopalliance-repackaged:jar:2.6.1:compile [INFO] | | \- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.25.1:runtime [INFO] | +- io.dropwizard:dropwizard-servlets:jar:2.0.13:compile [INFO] | +- io.dropwizard:dropwizard-jetty:jar:2.0.13:compile [INFO] | | +- org.eclipse.jetty:jetty-servlets:jar:9.4.18.v20190429:compile [INFO] | | | \- org.eclipse.jetty:jetty-continuation:jar:9.4.18.v20190429:compile [INFO] | | \- org.eclipse.jetty:jetty-http:jar:9.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]
Issue-specific recipe and runtime smoke command require review against the complete issue and repository.
Legacy reproduction is generic install-only; match the actual issue failure before admission.