Getting NoClassDefFound Error even when JAR has the Required Class - java

I have a Flink Streaming application which uses Flink 1.14.3. I'm seeing random java.lang.NoClassDefFoundError: org/apache/kafka/common/security/scram/internals/ScramSaslClient and java.lang.NoClassDefFoundError: org/apache/kafka/common/security/scram/internals/ScramMessages errors. These are intermittent and don't happen to all jobs. I do see the classes present in the JAR that I'm submitting to Flink.
> jar -tf target/streaming-1.4.0.jar| grep ScramMessages
org/apache/kafka/common/security/scram/internals/ScramMessages.class
> jar -tf target/streaming-1.4.0.jar| grep ScramSaslClient
org/apache/kafka/common/security/scram/internals/ScramSaslClient.class
The maven dependency tree looks like this:
[INFO] +- org.springframework.boot:spring-boot-starter:jar:2.4.5:compile
[INFO] | +- org.springframework.boot:spring-boot:jar:2.4.5:compile
[INFO] | | \- org.springframework:spring-context:jar:5.3.6:compile
[INFO] | | +- org.springframework:spring-aop:jar:5.3.6:compile
[INFO] | | +- org.springframework:spring-beans:jar:5.3.6:compile
[INFO] | | \- org.springframework:spring-expression:jar:5.3.6:compile
[INFO] | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.4.5:compile
[INFO] | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] | +- org.springframework:spring-core:jar:5.3.6:compile
[INFO] | | \- org.springframework:spring-jcl:jar:5.3.6:compile
[INFO] | \- org.yaml:snakeyaml:jar:1.27:compile
[INFO] +- org.springframework.boot:spring-boot-starter-log4j2:jar:2.4.5:compile
[INFO] | +- org.apache.logging.log4j:log4j-jul:jar:2.13.3:compile
[INFO] | \- org.slf4j:jul-to-slf4j:jar:1.7.30:compile
[INFO] +- org.apache.flink:flink-table-api-java:jar:1.14.3:compile
[INFO] | +- org.apache.flink:flink-table-common:jar:1.14.3:compile
[INFO] | | +- org.apache.flink:flink-connector-files:jar:1.14.3:compile
[INFO] | | \- org.apache.flink:flink-shaded-asm-7:jar:7.1-14.0:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.30:compile
[INFO] | +- com.google.code.findbugs:jsr305:jar:1.3.9:compile
[INFO] | \- org.apache.flink:flink-shaded-force-shading:jar:14.0:compile
[INFO] +- org.apache.flink:flink-table-api-java-bridge_2.11:jar:1.14.3:compile
[INFO] | \- org.apache.flink:flink-java:jar:1.14.3:compile
[INFO] | \- org.apache.commons:commons-lang3:jar:3.11:compile
[INFO] +- org.apache.flink:flink-connector-kafka_2.11:jar:1.14.3:compile
[INFO] | \- org.apache.flink:flink-connector-base:jar:1.14.3:compile
[INFO] +- org.apache.kafka:kafka-clients:jar:2.7.0:compile
[INFO] | +- com.github.luben:zstd-jni:jar:1.4.5-6:compile
[INFO] | +- org.lz4:lz4-java:jar:1.7.1:compile
[INFO] | \- org.xerial.snappy:snappy-java:jar:1.1.7.7:compile
[INFO] +- org.apache.flink:flink-streaming-java_2.11:jar:1.14.3:compile
[INFO] | +- org.apache.flink:flink-core:jar:1.14.3:compile
[INFO] | | +- org.apache.flink:flink-annotations:jar:1.14.3:compile
[INFO] | | +- org.apache.flink:flink-metrics-core:jar:1.14.3:compile
[INFO] | | +- com.esotericsoftware.kryo:kryo:jar:2.24.0:compile
[INFO] | | | \- com.esotericsoftware.minlog:minlog:jar:1.2:compile
[INFO] | | +- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] | | \- org.apache.commons:commons-compress:jar:1.21:compile
[INFO] | +- org.apache.flink:flink-file-sink-common:jar:1.14.3:compile
[INFO] | +- org.apache.flink:flink-runtime:jar:1.14.3:compile
[INFO] | | +- org.apache.flink:flink-rpc-core:jar:1.14.3:compile
[INFO] | | +- org.apache.flink:flink-rpc-akka-loader:jar:1.14.3:compile
[INFO] | | +- org.apache.flink:flink-queryable-state-client-java:jar:1.14.3:compile
[INFO] | | +- org.apache.flink:flink-hadoop-fs:jar:1.14.3:compile
[INFO] | | +- commons-io:commons-io:jar:2.8.0:compile
[INFO] | | +- org.apache.flink:flink-shaded-netty:jar:4.1.65.Final-14.0:compile
[INFO] | | +- org.apache.flink:flink-shaded-jackson:jar:2.12.4-14.0:compile
[INFO] | | +- org.apache.flink:flink-shaded-zookeeper-3:jar:3.4.14-14.0:compile
[INFO] | | \- org.javassist:javassist:jar:3.24.0-GA:compile
[INFO] | +- org.apache.flink:flink-scala_2.11:jar:1.14.3:compile
[INFO] | | +- org.scala-lang:scala-reflect:jar:2.11.12:compile
[INFO] | | +- org.scala-lang:scala-library:jar:2.11.12:compile
[INFO] | | +- org.scala-lang:scala-compiler:jar:2.11.12:compile
[INFO] | | | +- org.scala-lang.modules:scala-xml_2.11:jar:1.0.5:compile
[INFO] | | | \- org.scala-lang.modules:scala-parser-combinators_2.11:jar:1.0.4:compile
[INFO] | | \- com.twitter:chill_2.11:jar:0.7.6:compile
[INFO] | | \- com.twitter:chill-java:jar:0.7.6:compile
[INFO] | +- org.apache.flink:flink-shaded-guava:jar:30.1.1-jre-14.0:compile
[INFO] | \- org.apache.commons:commons-math3:jar:3.5:compile
[INFO] +- org.apache.flink:flink-clients_2.11:jar:1.14.3:compile
[INFO] | +- org.apache.flink:flink-optimizer:jar:1.14.3:compile
[INFO] | \- commons-cli:commons-cli:jar:1.3.1:compile
[INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.17.0:runtime
[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.17.0:runtime
[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.17.0:runtime
[INFO] | | \- org.objenesis:objenesis:jar:3.1:compile
[INFO] +- org.projectlombok:lombok:jar:1.18.22:compile
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.12.5:compile
[INFO] +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.5:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.5:compile
[INFO] +- com.rivian.rdata:ingestion-common:jar:0.1.4:compile
[INFO] +- com.google.guava:guava:jar:31.0.1-jre:compile
[INFO] | +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] | +- org.checkerframework:checker-qual:jar:3.12.0:compile
[INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.7.1:compile
[INFO] | \- com.google.j2objc:j2objc-annotations:jar:1.3:compile
Can someone help with this issue if they know of a solution?

Related

Getting warning SLF4J :Class path contains multiple SLF4J bindings

I getting this warning while running application.
I tried solution [here][1]
but it is not working ,I am not sure what am I missing, could anyone help here?
Thanks in advance.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Users/macuser/.m2/repository/ch/qos/logback/logback-classic/1.2.10/logback-classic-1.2.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/macuser/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.1/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
Parent Pom.xml after running mvn dependency:tree
[INFO] com.share:ekacloud-backend-share:pom:0.0.1-SNAPSHOT
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.6.3:compile
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.6.3:compile
[INFO] | | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.6.3:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:2.6.3:compile
[INFO] | | | +- ch.qos.logback:logback-classic:jar:1.2.10:compile
[INFO] | | | | \- ch.qos.logback:logback-core:jar:1.2.10:compile
[INFO] | | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.17.1:compile
[INFO] | | | \- org.slf4j:jul-to-slf4j:jar:1.7.33:compile
[INFO] | | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] | | +- org.springframework:spring-core:jar:5.3.15:compile
[INFO] | | | \- org.springframework:spring-jcl:jar:5.3.15:compile
[INFO] | | \- org.yaml:snakeyaml:jar:1.29:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-json:jar:2.6.3:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.13.1:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.13.1:compile
[INFO] | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.13.1:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.6.3:compile
[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.56:compile
[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.56:compile
[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.56:compile
[INFO] | +- org.springframework:spring-web:jar:5.3.15:compile
[INFO] | | \- org.springframework:spring-beans:jar:5.3.15:compile
[INFO] | \- org.springframework:spring-webmvc:jar:5.3.15:compile
[INFO] | +- org.springframework:spring-aop:jar:5.3.15:compile
[INFO] | +- org.springframework:spring-context:jar:5.3.15:compile
[INFO] | \- org.springframework:spring-expression:jar:5.3.15:compile
[INFO] +- org.apache.commons:commons-collections4:jar:4.4:compile
[INFO] +- com.commons:commons-cache:jar:0.0.81:compile
[INFO] | +- org.springframework.boot:spring-boot:jar:2.6.3:compile
[INFO] | +- org.springframework.data:spring-data-redis:jar:2.6.1:compile
[INFO] | | +- org.springframework.data:spring-data-keyvalue:jar:2.6.1:compile
[INFO] | | | \- org.springframework.data:spring-data-commons:jar:2.6.1:compile
[INFO] | | +- org.springframework:spring-tx:jar:5.3.15:compile
[INFO] | | +- org.springframework:spring-oxm:jar:5.3.15:compile
[INFO] | | \- org.springframework:spring-context-support:jar:5.3.15:compile
[INFO] | +- org.apache.commons:commons-lang3:jar:3.12.0:compile
[INFO] | \- com.google.code.gson:gson:jar:2.8.9:compile
[INFO] +- com.github.docker-java:docker-java:jar:3.0.13:compile
[INFO] | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.13.1:compile
[INFO] | | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.13.1:compile
[INFO] | | \- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.13.1:compile
[INFO] | | +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:compile
[INFO] | | \- jakarta.activation:jakarta.activation-api:jar:1.2.2:compile
[INFO] | +- org.glassfish.jersey.connectors:jersey-apache-connector:jar:2.35:compile
[INFO] | | +- org.glassfish.jersey.core:jersey-common:jar:2.35:compile
[INFO] | | | \- org.glassfish.hk2:osgi-resource-locator:jar:1.0.3:compile
[INFO] | | \- jakarta.ws.rs:jakarta.ws.rs-api:jar:2.1.6:compile
[INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.15:compile
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] | +- org.glassfish.jersey.core:jersey-client:jar:2.35:compile
[INFO] | | \- org.glassfish.hk2.external:jakarta.inject:jar:2.6.1:compile
[INFO] | +- com.kohlschutter.junixsocket:junixsocket-common:jar:2.0.4:compile
[INFO] | | \- log4j:log4j:jar:1.2.17:compile
[INFO] | +- com.kohlschutter.junixsocket:junixsocket-native-common:jar:2.0.4:compile
[INFO] | | \- org.scijava:native-lib-loader:jar:2.0.2:compile
[INFO] | +- org.apache.commons:commons-compress:jar:1.12:compile
[INFO] | +- commons-codec:commons-codec:jar:1.15:compile
[INFO] | +- commons-lang:commons-lang:jar:2.6:compile
[INFO] | +- commons-io:commons-io:jar:2.5:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.33:compile
[INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.7.33:compile
[INFO] | +- com.google.guava:guava:jar:19.0:compile
[INFO] | +- org.bouncycastle:bcpkix-jdk15on:jar:1.54:compile
[INFO] | | \- org.bouncycastle:bcprov-jdk15on:jar:1.54:compile
[INFO] | +- io.netty:netty-codec-http:jar:4.1.73.Final:compile
[INFO] | | +- io.netty:netty-common:jar:4.1.73.Final:compile
[INFO] | | +- io.netty:netty-buffer:jar:4.1.73.Final:compile
[INFO] | | +- io.netty:netty-transport:jar:4.1.73.Final:compile
[INFO] | | \- io.netty:netty-codec:jar:4.1.73.Final:compile
[INFO] | +- io.netty:netty-handler:jar:4.1.73.Final:compile
[INFO] | | +- io.netty:netty-resolver:jar:4.1.73.Final:compile
[INFO] | | \- io.netty:netty-tcnative-classes:jar:2.0.46.Final:compile
[INFO] | +- io.netty:netty-handler-proxy:jar:4.1.73.Final:compile
[INFO] | | \- io.netty:netty-codec-socks:jar:4.1.73.Final:compile
[INFO] | +- io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.73.Final:compile
[INFO] | | +- io.netty:netty-transport-native-unix-common:jar:4.1.73.Final:compile
[INFO] | | \- io.netty:netty-transport-classes-epoll:jar:4.1.73.Final:compile
[INFO] | \- io.netty:netty-transport-native-kqueue:jar:osx-x86_64:4.1.73.Final:compile
[INFO] | \- io.netty:netty-transport-classes-kqueue:jar:4.1.73.Final:compile
[INFO] +- com.commons:commons-ssm:jar:0.0.81:compile
[INFO] | \- com.amazonaws:aws-java-sdk-ssm:jar:1.11.225:compile
[INFO] | +- com.amazonaws:aws-java-sdk-core:jar:1.11.225:compile
[INFO] | | +- software.amazon.ion:ion-java:jar:1.0.2:compile
[INFO] | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.13.1:compile
[INFO] | | \- joda-time:joda-time:jar:2.8.1:compile
[INFO] | \- com.amazonaws:jmespath-java:jar:1.11.225:compile
[INFO] +- com.commons:commons-error:jar:0.0.81:compile
[INFO] +- com.commons:commons-client:jar:0.0.81:compile
[INFO] +- com.commons:commons-util:jar:0.0.81:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.13.1:compile
[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.13.1:compile
[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.13.1:compile
[INFO] | \- javax.servlet:javax.servlet-api:jar:4.0.1:compile
[INFO] +- com.commons:commons-model:jar:0.0.81:compile
[INFO] | +- org.springframework.security:spring-security-core:jar:5.6.1:compile
[INFO] | | \- org.springframework.security:spring-security-crypto:jar:5.6.1:compile
[INFO] | +- io.swagger:swagger-annotations:jar:1.5.13:compile
[INFO] | +- javax.validation:validation-api:jar:2.0.1.Final:compile
[INFO] | \- com:ess-model-java:jar:1.6.0:compile
[INFO] | +- io.gsonfire:gson-fire:jar:1.8.0:runtime
[INFO] | \- javax.annotation:javax.annotation-api:jar:1.3.2:runtime
[INFO] +- org.powermock:powermock-module-junit4:jar:1.7.4:compile
[INFO] | +- org.powermock:powermock-module-junit4-common:jar:1.7.4:compile
[INFO] | | +- org.powermock:powermock-reflect:jar:1.7.4:compile
[INFO] | | \- org.powermock:powermock-core:jar:1.7.4:compile
[INFO] | | \- org.javassist:javassist:jar:3.21.0-GA:compile
[INFO] | +- junit:junit:jar:4.13.2:compile
[INFO] | \- org.hamcrest:hamcrest-core:jar:2.2:compile
[INFO] | \- org.hamcrest:hamcrest:jar:2.2:compile
[INFO] +- com.github.kstyrc:embedded-redis:jar:0.6:compile
[INFO] +- com.squareup.okhttp3:okhttp:jar:3.8.1:compile
[INFO] | \- com.squareup.okio:okio:jar:1.13.0:compile
[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.17.1:compile
[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.17.1:compile
[INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.17.1:compile
[INFO] +- org.powermock:powermock-api-mockito2:jar:1.7.4:test
[INFO] | \- org.powermock:powermock-api-mockito-common:jar:1.7.4:test
[INFO] | \- org.powermock:powermock-api-support:jar:1.7.4:test
[INFO] +- org.flywaydb:flyway-core:jar:4.2.0:compile
[INFO] +- javax.xml.bind:jaxb-api:jar:2.3.1:compile
[INFO] | \- javax.activation:javax.activation-api:jar:1.2.0:compile
[INFO] \- org.mockito:mockito-core:jar:4.3.1:test
[INFO] +- net.bytebuddy:byte-buddy:jar:1.11.22:test
[INFO] +- net.bytebuddy:byte-buddy-agent:jar:1.11.22:test
[INFO] \- org.objenesis:objenesis:jar:3.2:compile
I thought it is coming from spring-boot-starter-web and tried to add exclusion here but it did not work.
You have to use the information SLF4J provide you and back trace the dependency using dependency:tree and its includes option.
This message:
SLF4J: Found binding in [jar:file:/Users/macuser/.m2/repository/ch/qos/logback/logback-classic/1.2.10/logback-classic-1.2.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/macuser/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.1/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
Means that the following dependencies are being imported:
ch.qos.logback:logback-classic:1.2.10:jar
org.apache.logging.log4j:log4j-slf4j-impl:2.17.1:jar
Then you can filter your dependency tree using -Dincludes=
mvn dependency:tree '-Dincludes=ch.qos.logback:logback-classic,org.apache.logging.log4j:log4j-slf4j-impl'
You may omit the version and type here because that's not really important.
This will give you the exact dependencies you will have to exclude.
And from the dependencies you reference, I think your problem lies in the use of Log4J2 with a SLF4J bindings whereas spring boot use SLF4J with Logback as default implementation.
You can read this to use log4j2 with Spring boot: https://www.callicoder.com/spring-boot-log4j-2-example/

Build failures for 'javax.ws.rs.core.Response' dependency

I have a dependency:tree as below. And initially, my Eclipse workspace doesn't show any compile time errors.
But when I build my project, I receive both compile time and run time errors saying The method bufferEntity() is undefined for the type Response. This is the same for response.readEntity(String.class) as well
A piece of my code:
private myResponse myMethod(javax.ws.rs.core.Response response) {
response.bufferEntity()
}
My dependency tree:
[INFO] com.esrx.services:pharmacy-resource-center-app:jar:6.31.0
[INFO] +- com.esrx.services:patienteligibility-jaxb:jar:1.13:compile
[INFO] +- com.esrx.services:patienteligibility-jaxrs-api:jar:1.13:compile
[INFO] | \- com.express-scripts.inf:inf-jersey:jar:1.3:compile
[INFO] | \- com.sun.jersey:jersey-client:jar:1.17:compile
[INFO] | \- com.sun.jersey:jersey-core:jar:1.17:compile
[INFO] +- com.express-scripts.services:customer-contact-info-jaxrs-api:jar:2.0:compile
[INFO] | \- com.express-scripts.services:customer-contact-info-jaxb:jar:2.0:compile
[INFO] +- com.esrx.services:benefitprofile-jaxrs-api:jar:1.2:compile
[INFO] | \- com.esrx.services:benefitprofile-jaxb:jar:1.2:compile
[INFO] +- com.esrx.claims:claims-jaxb:jar:2.0.11:compile
[INFO] +- com.esrx.claims:claims-jaxrs-api:jar:2.0.11:compile
[INFO] +- commons-lang:commons-lang:jar:2.6:compile
[INFO] +- com.esrx.common:common-types:jar:3.1.0:compile
[INFO] +- com.esrx.common:common-validator:jar:5.2.0:compile
[INFO] | +- com.esrx.common:common-exceptions:jar:2.2.0:compile
[INFO] | \- commons-validator:commons-validator:jar:1.7:compile
[INFO] | +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
[INFO] | \- commons-digester:commons-digester:jar:2.1:compile
[INFO] +- org.springframework.integration:spring-integration-core:jar:5.5.7:compile
[INFO] | +- org.springframework:spring-aop:jar:5.3.14:compile
[INFO] | +- org.springframework:spring-messaging:jar:5.3.14:compile
[INFO] | +- org.springframework:spring-tx:jar:5.3.14:compile
[INFO] | +- org.springframework.retry:spring-retry:jar:1.3.1:compile
[INFO] | \- io.projectreactor:reactor-core:jar:3.4.13:compile
[INFO] +- com.esrx.common:common-core:jar:14.3.0:compile
[INFO] | +- org.apache.commons:commons-lang3:jar:3.12.0:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.32:compile
[INFO] | \- jakarta.resource:jakarta.resource-api:jar:1.7.4:compile
[INFO] | \- jakarta.transaction:jakarta.transaction-api:jar:1.3.3:compile
[INFO] +- com.esrx.common:common-types-jaxb-support:jar:3.1.0:compile
[INFO] | +- com.esrx.common:common-types-jaxb:jar:2.2.0:compile
[INFO] | \- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] +- org.springframework:spring-test:jar:5.3.14:test
[INFO] | \- org.springframework:spring-core:jar:5.3.14:compile
[INFO] | \- org.springframework:spring-jcl:jar:5.3.14:compile
[INFO] +- com.express-scripts.inf:inf-test:jar:3.0:test
[INFO] | +- org.unitils:unitils:jar:2.4:test
[INFO] | | +- commons-dbcp:commons-dbcp:jar:1.2.2:test
[INFO] | | | \- commons-pool:commons-pool:jar:1.6:test
[INFO] | | +- ognl:ognl:jar:2.6.9:test
[INFO] | | \- ant:ant:jar:1.6.5:test
[INFO] | +- com.github.springtestdbunit:spring-test-dbunit:jar:1.2.1:test
[INFO] | +- org.dbunit:dbunit:jar:2.5.1:test
[INFO] | +- xmlunit:xmlunit:jar:1.6:test
[INFO] | \- com.express-scripts.inf:inf-core:jar:9.0:compile
[INFO] | \- org.codehaus.jettison:jettison:jar:1.4.1:compile
[INFO] +- com.carbonfive:test-support:jar:0.9.1:test
[INFO] | +- log4j:log4j:jar:1.2.15:test
[INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.7.32:test
[INFO] | \- com.carbonfive:db-support:jar:0.9.6:test
[INFO] +- org.easymock:easymockclassextension:jar:3.2:test
[INFO] | \- org.easymock:easymock:jar:4.3:test
[INFO] +- junit:junit:jar:4.13.2:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:2.2:test
[INFO] +- nl.jqno.equalsverifier:equalsverifier:jar:2.2.1:compile
[INFO] +- org.meanbean:meanbean:jar:2.0.3:compile
[INFO] | \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] +- org.powermock:powermock-module-junit4:jar:1.7.3:test
[INFO] | \- org.powermock:powermock-module-junit4-common:jar:1.7.3:test
[INFO] | +- org.powermock:powermock-reflect:jar:1.7.3:compile
[INFO] | \- org.powermock:powermock-core:jar:1.7.3:compile
[INFO] +- org.powermock:powermock-api-easymock:jar:1.7.3:compile
[INFO] | +- org.powermock:powermock-api-support:jar:1.7.3:compile
[INFO] | \- cglib:cglib-nodep:jar:2.2.2:compile
[INFO] +- org.jboss.resteasy:resteasy-jaxrs:jar:3.6.0.Final:compile
[INFO] | +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.1_spec:jar:1.0.0.Final:compile
[INFO] | +- org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec:jar:1.0.0.Final:compile
[INFO] | +- org.reactivestreams:reactive-streams:jar:1.0.3:compile
[INFO] | +- javax.validation:validation-api:jar:2.0.1.Final:compile
[INFO] | +- org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.0.Final:compile
[INFO] | +- javax.activation:activation:jar:1.1.1:compile
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.15:compile
[INFO] | | \- commons-codec:commons-codec:jar:1.15:compile
[INFO] | +- net.jcip:jcip-annotations:jar:1.0:compile
[INFO] | +- javax.json.bind:javax.json.bind-api:jar:1.0:compile
[INFO] | \- org.jboss.logging:jboss-logging:jar:3.4.2.Final:compile
[INFO] +- com.esrx.common:common-types-jaxrs-support:jar:3.2.0:compile
[INFO] | \- com.esrx.common:common-types-jaxrs:jar:2.2.0:compile
[INFO] +- org.jboss.resteasy:jaxrs-api:jar:3.0.11.Final:compile
[INFO] +- javax.ws.rs:javax.ws.rs-api:jar:2.1.1:compile
[INFO] +- org.jboss.resteasy:resteasy-multipart-provider:jar:3.0.11.Final:compile
[INFO] | +- org.jboss.resteasy:resteasy-client:jar:3.0.11.Final:compile
[INFO] | +- javax.mail:mail:jar:1.5.0-b01:compile
[INFO] | \- org.apache.james:apache-mime4j:jar:0.6:compile
[INFO] +- commons-io:commons-io:jar:2.11.0:compile
[INFO] +- org.springframework:spring-context:jar:5.3.14:compile
[INFO] | +- org.springframework:spring-beans:jar:5.3.14:compile
[INFO] | \- org.springframework:spring-expression:jar:5.3.14:compile
[INFO] +- org.hibernate:hibernate-core:jar:5.4.33:test
[INFO] | +- javax.persistence:javax.persistence-api:jar:2.2:test
[INFO] | +- org.javassist:javassist:jar:3.27.0-GA:compile
[INFO] | +- net.bytebuddy:byte-buddy:jar:1.10.22:test
[INFO] | +- antlr:antlr:jar:2.7.7:test
[INFO] | +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.1.1.Final:test
[INFO] | +- org.jboss:jandex:jar:2.2.3.Final:test
[INFO] | +- com.fasterxml:classmate:jar:1.5.1:compile
[INFO] | +- javax.activation:javax.activation-api:jar:1.2.0:test
[INFO] | +- org.dom4j:dom4j:jar:2.1.3:test
[INFO] | +- org.hibernate.common:hibernate-commons-annotations:jar:5.1.2.Final:test
[INFO] | +- javax.xml.bind:jaxb-api:jar:2.3.1:test
[INFO] | \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.5:compile
[INFO] | +- org.glassfish.jaxb:txw2:jar:2.3.5:compile
[INFO] | +- com.sun.istack:istack-commons-runtime:jar:3.0.12:compile
[INFO] | \- com.sun.activation:jakarta.activation:jar:1.2.2:runtime
[INFO] +- org.springframework.boot:spring-boot-starter-jetty:jar:2.5.8:compile
[INFO] | +- jakarta.servlet:jakarta.servlet-api:jar:4.0.4:compile
[INFO] | +- jakarta.websocket:jakarta.websocket-api:jar:1.1.2:compile
[INFO] | +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.56:compile
[INFO] | +- org.eclipse.jetty:jetty-servlets:jar:9.4.44.v20210927:compile
[INFO] | | +- org.eclipse.jetty:jetty-continuation:jar:9.4.44.v20210927:compile
[INFO] | | +- org.eclipse.jetty:jetty-http:jar:9.4.44.v20210927:compile
[INFO] | | +- org.eclipse.jetty:jetty-util:jar:9.4.44.v20210927:compile
[INFO] | | \- org.eclipse.jetty:jetty-io:jar:9.4.44.v20210927:compile
[INFO] | +- org.eclipse.jetty:jetty-webapp:jar:9.4.44.v20210927:compile
[INFO] | | +- org.eclipse.jetty:jetty-xml:jar:9.4.44.v20210927:compile
[INFO] | | \- org.eclipse.jetty:jetty-servlet:jar:9.4.44.v20210927:compile
[INFO] | | +- org.eclipse.jetty:jetty-security:jar:9.4.44.v20210927:compile
[INFO] | | \- org.eclipse.jetty:jetty-util-ajax:jar:9.4.44.v20210927:compile
[INFO] | +- org.eclipse.jetty.websocket:websocket-server:jar:9.4.44.v20210927:compile
[INFO] | | +- org.eclipse.jetty.websocket:websocket-common:jar:9.4.44.v20210927:compile
[INFO] | | | \- org.eclipse.jetty.websocket:websocket-api:jar:9.4.44.v20210927:compile
[INFO] | | +- org.eclipse.jetty.websocket:websocket-client:jar:9.4.44.v20210927:compile
[INFO] | | | \- org.eclipse.jetty:jetty-client:jar:9.4.44.v20210927:compile
[INFO] | | \- org.eclipse.jetty.websocket:websocket-servlet:jar:9.4.44.v20210927:compile
[INFO] | \- org.eclipse.jetty.websocket:javax-websocket-server-impl:jar:9.4.44.v20210927:compile
[INFO] | +- org.eclipse.jetty:jetty-annotations:jar:9.4.44.v20210927:compile
[INFO] | | +- org.eclipse.jetty:jetty-plus:jar:9.4.44.v20210927:compile
[INFO] | | \- org.ow2.asm:asm-commons:jar:9.2:compile
[INFO] | | +- org.ow2.asm:asm-tree:jar:9.2:compile
[INFO] | | \- org.ow2.asm:asm-analysis:jar:9.2:compile
[INFO] | \- org.eclipse.jetty.websocket:javax-websocket-client-impl:jar:9.4.44.v20210927:compile
[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:2.5.8:compile
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.5.8:compile
[INFO] | | +- org.springframework.boot:spring-boot:jar:2.5.8:compile
[INFO] | | \- org.yaml:snakeyaml:jar:1.28:compile
[INFO] | +- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.5.8:compile
[INFO] | | +- org.springframework.boot:spring-boot-actuator:jar:2.5.8:compile
[INFO] | | \- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.6:compile
[INFO] | \- io.micrometer:micrometer-core:jar:1.7.7:compile
[INFO] | +- org.hdrhistogram:HdrHistogram:jar:2.1.12:compile
[INFO] | \- org.latencyutils:LatencyUtils:jar:2.0.3:runtime
[INFO] +- org.springframework.boot:spring-boot-starter-log4j2:jar:2.5.8:compile
[INFO] | +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.17.0:compile
[INFO] | | \- org.apache.logging.log4j:log4j-api:jar:2.17.0:compile
[INFO] | +- org.apache.logging.log4j:log4j-core:jar:2.17.0:compile
[INFO] | +- org.apache.logging.log4j:log4j-jul:jar:2.17.0:compile
[INFO] | \- org.slf4j:jul-to-slf4j:jar:1.7.32:compile
[INFO] +- org.springframework:spring-context-support:jar:5.3.14:compile
[INFO] +- org.springframework.security:spring-security-web:jar:5.5.4:compile
[INFO] | +- org.springframework.security:spring-security-core:jar:5.5.4:compile
[INFO] | | \- org.springframework.security:spring-security-crypto:jar:5.5.4:compile
[INFO] | \- org.springframework:spring-web:jar:5.3.14:compile
[INFO] +- org.springframework.security:spring-security-config:jar:5.5.4:compile
[INFO] +- org.jboss.resteasy:resteasy-jaxb-provider:jar:3.6.0.Final:compile
[INFO] | +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
[INFO] | \- com.sun.xml.bind:jaxb-impl:jar:2.3.0:compile
[INFO] +- org.jboss.resteasy:resteasy-jackson-provider:jar:3.6.0.Final:compile
[INFO] | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
[INFO] | +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:compile
[INFO] | \- org.codehaus.jackson:jackson-xc:jar:1.9.13:compile
[INFO] +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.4.5:compile
[INFO] | +- xml-resolver:xml-resolver:jar:1.2:compile
[INFO] | +- org.ow2.asm:asm:jar:9.2:compile
[INFO] | +- org.apache.cxf:cxf-core:jar:3.4.5:compile
[INFO] | | \- org.apache.ws.xmlschema:xmlschema-core:jar:2.2.5:compile
[INFO] | +- org.apache.cxf:cxf-rt-bindings-soap:jar:3.4.5:compile
[INFO] | | +- org.apache.cxf:cxf-rt-wsdl:jar:3.4.5:compile
[INFO] | | | \- wsdl4j:wsdl4j:jar:1.6.3:compile
[INFO] | | \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.4.5:compile
[INFO] | +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.4.5:compile
[INFO] | +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.4.5:compile
[INFO] | \- org.apache.cxf:cxf-rt-ws-addr:jar:3.4.5:compile
[INFO] | \- org.apache.cxf:cxf-rt-ws-policy:jar:3.4.5:compile
[INFO] | \- org.apache.neethi:neethi:jar:3.1.1:compile
[INFO] +- org.apache.cxf:cxf-rt-transports-http:jar:3.4.5:compile
[INFO] +- com.esrx.common:common-jetty:jar:2.4.0:compile
[INFO] | \- org.eclipse.jetty:jetty-server:jar:9.4.44.v20210927:compile
[INFO] +- com.gemstone.gemfire:gemfire:jar:7.0:compile
[INFO] +- com.esrx.common:common-resteasy:jar:3.4.0:compile
[INFO] +- com.esrx.common:common-web:jar:6.4.0:compile
[INFO] +- com.esrx.common:common-session:jar:7.2.0:compile
[INFO] | +- javax.cache:cache-api:jar:1.1.1:compile
[INFO] | +- com.express-scripts.services:session-management-service-client:jar:4.2:compile
[INFO] | +- jakarta.activation:jakarta.activation-api:jar:1.2.2:compile
[INFO] | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] | \- jakarta.xml.ws:jakarta.xml.ws-api:jar:2.3.3:compile
[INFO] | +- jakarta.xml.soap:jakarta.xml.soap-api:jar:1.4.2:compile
[INFO] | \- jakarta.jws:jakarta.jws-api:jar:2.1.0:runtime
[INFO] +- com.esrx.common:common-spring:jar:7.3.0:compile
[INFO] +- com.esrx.common:common-cxf:jar:5.2.0:compile
[INFO] +- com.esrx.common:common-monitoring:jar:4.3.0:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-web:jar:2.5.8:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-json:jar:2.5.8:compile
[INFO] | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.12.6:compile
[INFO] | | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.12.6:compile
[INFO] | | \- org.springframework:spring-webmvc:jar:5.3.14:compile
[INFO] | +- com.esrx.common:common-requesttracking:jar:3.2.0:compile
[INFO] | +- io.micrometer:micrometer-registry-new-relic:jar:1.7.7:compile
[INFO] | +- com.newrelic.agent.java:newrelic-api:jar:7.4.3:compile
[INFO] | +- org.springframework.cloud:spring-cloud-netflix-hystrix:jar:2.2.10.RELEASE:compile
[INFO] | | \- org.springframework.boot:spring-boot-starter-aop:jar:2.5.8:compile
[INFO] | \- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] +- com.esrx.common:common-spring-boot:jar:8.8.0:compile
[INFO] | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.5.8:compile
[INFO] | +- org.springframework.cloud:spring-cloud-context:jar:3.0.5:compile
[INFO] | +- com.esrx.common:common-security:jar:12.6.0:compile
[INFO] | | +- org.apache.commons:commons-compress:jar:1.21:compile
[INFO] | | +- io.jsonwebtoken:jjwt-api:jar:0.11.2:compile
[INFO] | | +- io.jsonwebtoken:jjwt-impl:jar:0.11.2:runtime
[INFO] | | +- io.jsonwebtoken:jjwt-jackson:jar:0.11.2:compile
[INFO] | | +- org.apache.commons:commons-collections4:jar:4.4:compile
[INFO] | | \- org.ehcache:ehcache:jar:3.9.9:compile
[INFO] | +- org.jasypt:jasypt-spring31:jar:1.9.3:compile
[INFO] | \- jakarta.jms:jakarta.jms-api:jar:2.0.3:compile
[INFO] +- com.thoughtworks.xstream:xstream:jar:1.4.18:compile
[INFO] | \- io.github.x-stream:mxparser:jar:1.2.2:compile
[INFO] | \- xmlpull:xmlpull:jar:1.1.3.1:compile
[INFO] +- org.bouncycastle:bcprov-jdk16:jar:1.46:compile
[INFO] +- org.aspectj:aspectjrt:jar:1.9.7:compile
[INFO] +- org.aspectj:aspectjweaver:jar:1.9.7:compile
[INFO] +- org.jasypt:jasypt:jar:1.9.3:compile
[INFO] +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
[INFO] +- com.esrx.services:usermanagement-cxf-client:jar:7.0:compile
[INFO] +- org.projectlombok:lombok:jar:1.18.22:compile
[INFO] +- com.google.guava:guava:jar:19.0:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.5.8:test
[INFO] | +- org.springframework.boot:spring-boot-test:jar:2.5.8:test
[INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.5.8:test
[INFO] | +- com.jayway.jsonpath:json-path:jar:2.5.0:test
[INFO] | | \- net.minidev:json-smart:jar:2.4.7:test
[INFO] | | \- net.minidev:accessors-smart:jar:2.4.7:test
[INFO] | +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:compile
[INFO] | +- org.assertj:assertj-core:jar:3.19.0:test
[INFO] | +- org.hamcrest:hamcrest:jar:2.2:test
[INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.7.2:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.7.2:test
[INFO] | | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] | | | \- org.junit.platform:junit-platform-commons:jar:1.7.2:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.2:test
[INFO] | | \- org.junit.jupiter:junit-jupiter-engine:jar:5.7.2:test
[INFO] | | \- org.junit.platform:junit-platform-engine:jar:1.7.2:test
[INFO] | +- org.mockito:mockito-junit-jupiter:jar:3.9.0:test
[INFO] | +- org.skyscreamer:jsonassert:jar:1.5.0:test
[INFO] | | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
[INFO] | \- org.xmlunit:xmlunit-core:jar:2.8.4:test
[INFO] +- org.mockito:mockito-core:jar:3.9.0:test
[INFO] | +- net.bytebuddy:byte-buddy-agent:jar:1.10.22:test
[INFO] | \- org.objenesis:objenesis:jar:3.2:compile
[INFO] +- org.mockito:mockito-inline:jar:3.9.0:test
[INFO] +- org.powermock:powermock-api-mockito2:jar:1.7.3:test
[INFO] | \- org.powermock:powermock-api-mockito-common:jar:1.7.3:test
[INFO] +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.12.6:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.12.6:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.6:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.6:compile
[INFO] | +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.12.6:compile
[INFO] | +- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
[INFO] | \- com.fasterxml.woodstox:woodstox-core:jar:6.2.4:compile
[INFO] +- net.sf.ehcache:ehcache:jar:2.10.9.2:compile
[INFO] +- com.esrx.common:common-security-oauth2:jar:2.6.0:compile
[INFO] | +- com.esrx.common:common-security-jwt:jar:4.7.0:compile
[INFO] | | \- org.bouncycastle:bcprov-jdk15on:jar:1.70:compile
[INFO] | \- com.esrx.common:common-security-token-validator:jar:2.4.0:compile
[INFO] | \- com.netflix.hystrix:hystrix-core:jar:1.5.18:compile
[INFO] | +- com.netflix.archaius:archaius-core:jar:0.7.7:compile
[INFO] | | \- commons-configuration:commons-configuration:jar:1.10:runtime
[INFO] | \- io.reactivex:rxjava:jar:1.3.8:compile
[INFO] +- com.esrx.services:drugreference-jaxrs-api:jar:2.5:compile
[INFO] | \- com.esrx.services:drugreference-jaxb:jar:2.5:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-config:jar:3.0.6:compile
[INFO] | +- org.springframework.cloud:spring-cloud-starter:jar:3.0.5:compile
[INFO] | | +- org.springframework.cloud:spring-cloud-commons:jar:3.0.5:compile
[INFO] | | \- org.springframework.security:spring-security-rsa:jar:1.0.10.RELEASE:compile
[INFO] | | \- org.bouncycastle:bcpkix-jdk15on:jar:1.70:compile
[INFO] | | \- org.bouncycastle:bcutil-jdk15on:jar:1.70:compile
[INFO] | \- org.springframework.cloud:spring-cloud-config-client:jar:3.0.6:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-bus-amqp:jar:3.0.3:compile
[INFO] | +- org.springframework.cloud:spring-cloud-starter-stream-rabbit:jar:3.1.6:compile
[INFO] | | \- org.springframework.cloud:spring-cloud-stream-binder-rabbit:jar:3.1.6:compile
[INFO] | | +- org.springframework.cloud:spring-cloud-stream-binder-rabbit-core:jar:3.1.6:compile
[INFO] | | | +- org.springframework.integration:spring-integration-amqp:jar:5.5.7:compile
[INFO] | | | \- com.rabbitmq:http-client:jar:2.1.0.RELEASE:compile
[INFO] | | +- org.springframework.cloud:spring-cloud-stream:jar:3.1.6:compile
[INFO] | | | +- org.springframework.boot:spring-boot-starter-validation:jar:2.5.8:compile
[INFO] | | | | \- org.hibernate.validator:hibernate-validator:jar:6.2.0.Final:compile
[INFO] | | | | \- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile
[INFO] | | | \- org.springframework.cloud:spring-cloud-function-context:jar:3.1.6:compile
[INFO] | | | +- net.jodah:typetools:jar:0.6.2:compile
[INFO] | | | \- org.springframework.cloud:spring-cloud-function-core:jar:3.1.6:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-amqp:jar:2.5.8:compile
[INFO] | | | \- org.springframework.amqp:spring-rabbit:jar:2.3.13:compile
[INFO] | | | +- org.springframework.amqp:spring-amqp:jar:2.3.13:compile
[INFO] | | | \- com.rabbitmq:amqp-client:jar:5.12.0:compile
[INFO] | | \- org.springframework.integration:spring-integration-jmx:jar:5.5.7:compile
[INFO] | \- org.springframework.cloud:spring-cloud-bus:jar:3.0.3:compile
[INFO] +- com.esrx.common:common-config-client:jar:3.4.0:compile
[INFO] | +- org.springframework.cloud:spring-cloud-starter-bootstrap:jar:3.0.5:compile
[INFO] | \- com.esrx.core:config-server-shared:jar:0.0.6:compile
[INFO] +- com.esrx.services:prc-user-profile-jaxrs-api:jar:1.32.0:compile
[INFO] | +- com.express-scripts.inf:inf-types-jaxrs-support:jar:2.0:compile
[INFO] | | +- com.express-scripts.inf:inf-types:jar:2.0:compile
[INFO] | | +- com.express-scripts.inf:inf-types-jaxrs:jar:2.0:compile
[INFO] | | \- com.express-scripts.inf:inf-validator:jar:3.0:compile
[INFO] | \- io.swagger:swagger-core:jar:1.5.4:compile
[INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.12.6:compile
[INFO] | | \- joda-time:joda-time:jar:2.10.8:compile
[INFO] | \- io.swagger:swagger-models:jar:1.5.4:compile
[INFO] +- com.esrx.prc:prc-common:jar:1.16.0:compile
[INFO] | \- com.launchdarkly:launchdarkly-java-server-sdk:jar:5.3.0:compile
[INFO] +- com.esrx.prc:prc-common-test:jar:1.1.0:test
[INFO] +- com.esrx.qwertys:qwertys-common-test:jar:1.7.0:test
[INFO] | \- com.express-scripts.inf:inf-security-jwt:jar:1.3.1:test
[INFO] | +- com.express-scripts.inf:inf-security:jar:8.9.0:test
[INFO] | +- io.jsonwebtoken:jjwt:jar:0.9.0:test
[INFO] | \- javax.servlet:javax.servlet-api:jar:4.0.1:test
[INFO] +- com.esrx.benefits:accumulator-info-inbound-api:jar:3.0.8:compile
[INFO] | \- io.swagger:swagger-annotations:jar:1.5.8:compile
[INFO] +- org.jboss.resteasy:resteasy-validator-provider-11:jar:3.6.0.Final:compile
[INFO] | \- org.hibernate:hibernate-validator:jar:5.2.4.Final:compile
[INFO] \- io.swagger:swagger-jaxrs:jar:1.5.0:compile
[INFO] +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.12.6:compile
[INFO] +- org.reflections:reflections:jar:0.9.9:compile
[INFO] | \- com.google.code.findbugs:annotations:jar:2.0.1:compile
[INFO] \- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.12.6:compile
[INFO] \- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.12.6:compile
Chances are that you have a JAXRS 1.X Implemetation in the compile classpath: budderEntity is available only since JAXRS 2.0.
The culprit should be javax.ws.rs:jsr311-api:jar:1.1.1:compile

How can I get rid of xml-apis library in Maven project dynamically?

I have a Maven project and need to get rid of xml-apis library. It somehow always gets included. It is not seen in the dependency tree. Here is the dependency tree:
[INFO] com.softgile:asan:atlassian-plugin:1.0.1-SNAPSHOT
[INFO] +- com.atlassian.jira:jira-api:jar:8.12.0:provided
[INFO] | +- com.atlassian.annotations:atlassian-annotations:jar:2.1.0:provided
[INFO] | | \- com.google.code.findbugs:jsr305:jar:3.0.0:provided
[INFO] | +- com.atlassian.ofbiz:entityengine-share:jar:1.5.0:provided
[INFO] | +- com.atlassian.ofbiz:entityengine:jar:1.5.0:provided
[INFO] | | \- jta:jta:jar:1.0.1:provided
[INFO] | +- com.atlassian.collectors:atlassian-collectors-util:jar:1.1:provided
[INFO] | +- opensymphony:webwork:jar:1.4-atlassian-30:provided
[INFO] | | \- com.atlassian.html:atlassian-html-encoder:jar:1.4:provided
[INFO] | +- webwork:pell-multipart-request:jar:1.31.0:provided
[INFO] | +- com.atlassian.core:atlassian-core:jar:7.0.2:provided
[INFO] | | +- dom4j:dom4j:jar:1.6.1-atlassian-2:provided
[INFO] | | \- com.atlassian.image:atlassian-image-consumer:jar:1.0.1:provided
[INFO] | +- com.atlassian.core:atlassian-core-user:jar:7.0.2:provided
[INFO] | +- com.atlassian.core:atlassian-core-thumbnail:jar:7.0.2:provided
[INFO] | | +- com.twelvemonkeys.imageio:imageio-jpeg:jar:3.4.1:provided
[INFO] | | | +- com.twelvemonkeys.imageio:imageio-core:jar:3.4.1:provided
[INFO] | | | +- com.twelvemonkeys.imageio:imageio-metadata:jar:3.4.1:provided
[INFO] | | | +- com.twelvemonkeys.common:common-lang:jar:3.4.1:provided
[INFO] | | | +- com.twelvemonkeys.common:common-io:jar:3.4.1:provided
[INFO] | | | \- com.twelvemonkeys.common:common-image:jar:3.4.1:provided
[INFO] | | \- com.twelvemonkeys.imageio:imageio-tiff:jar:3.4.1:provided
[INFO] | +- com.atlassian.extras:atlassian-extras:jar:3.2:provided
[INFO] | +- com.atlassian.velocity:atlassian-velocity:jar:1.3:provided
[INFO] | | +- opensymphony:oscore:jar:2.2.7:provided
[INFO] | | \- org.apache.velocity:velocity:jar:1.6.4:provided
[INFO] | +- osworkflow:osworkflow:jar:2.9.0-atlassian-1:provided
[INFO] | +- opensymphony:propertyset:jar:1.5:provided
[INFO] | +- com.atlassian.cache:atlassian-cache-api:jar:4.0.2:provided
[INFO] | | +- com.atlassian.instrumentation:atlassian-instrumentation-core:jar:3.0.0:provided
[INFO] | | \- io.atlassian.util.concurrent:atlassian-util-concurrent:jar:4.0.1:provided
[INFO] | +- com.atlassian.beehive:beehive-api:jar:4.0.2:provided
[INFO] | +- com.atlassian.tenancy:atlassian-tenancy-api:jar:3.0.1:provided
[INFO] | | \- com.atlassian.event:atlassian-event:jar:4.0.0:provided
[INFO] | +- com.atlassian.upgrade:upgrade-task-framework-api:jar:2.0.2:provided
[INFO] | +- com.atlassian.crowd:embedded-crowd-api:jar:4.0.2:provided
[INFO] | +- com.google.guava:guava:jar:26.0-jre:provided
[INFO] | | +- org.checkerframework:checker-qual:jar:2.5.2:provided
[INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.1.3:provided
[INFO] | | +- com.google.j2objc:j2objc-annotations:jar:1.1:provided
[INFO] | | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:provided
[INFO] | +- com.atlassian.fugue:fugue:jar:2.7.0:provided
[INFO] | +- io.atlassian.fugue:fugue:jar:4.7.2:provided
[INFO] | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13-atlassian-4:provided
[INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13-atlassian-4:provided
[INFO] | +- com.sun.mail:jakarta.mail:jar:1.6.5:provided
[INFO] | | \- com.sun.activation:jakarta.activation:jar:1.2.1:provided
[INFO] | +- com.atlassian.mail:atlassian-mail:jar:5.0.3:provided
[INFO] | | +- commons-beanutils:commons-beanutils:jar:1.6.1:provided
[INFO] | | \- commons-digester:commons-digester:jar:1.4.1:provided
[INFO] | +- oro:oro:jar:2.0.7:provided
[INFO] | +- com.atlassian.threadlocal:atlassian-threadlocal:jar:1.3:provided
[INFO] | +- com.atlassian.applinks:applinks-api:jar:8.0.0:provided
[INFO] | +- com.google.javascript:closure-compiler-unshaded:jar:v20181008:provided
[INFO] | | +- com.google.javascript:closure-compiler-externs:jar:v20181008:provided
[INFO] | | +- args4j:args4j:jar:2.0.26:provided
[INFO] | | +- com.google.protobuf:protobuf-java:jar:3.0.2:provided
[INFO] | | \- com.google.jsinterop:jsinterop-annotations:jar:1.0.0:provided
[INFO] | +- com.atlassian.velocity.htmlsafe:velocity-htmlsafe:jar:3.1.0:provided
[INFO] | +- com.atlassian.plugins:atlassian-plugins-api:jar:5.3.7:provided
[INFO] | +- com.atlassian.plugins:atlassian-plugins-webfragment:jar:5.0.0:provided
[INFO] | +- com.atlassian.plugins:atlassian-plugins-webfragment-api:jar:5.0.0:provided
[INFO] | +- com.atlassian.ozymandias:atlassian-plugin-point-safety:jar:1.0.0:provided
[INFO] | +- jfree:jfreechart:jar:1.0.13:provided
[INFO] | +- com.atlassian.plugins:atlassian-plugins-webresource:jar:4.1.3:provided
[INFO] | | +- com.atlassian.plugins:atlassian-plugins-webresource-spi:jar:4.1.3:provided
[INFO] | | +- com.atlassian.plugins:atlassian-plugins-webresource-api:jar:4.1.3:provided
[INFO] | | +- org.tuckey:urlrewritefilter:jar:4.0.4:provided
[INFO] | | \- com.atlassian.sourcemap:sourcemap:jar:1.7.6:provided
[INFO] | +- com.atlassian.plugins:atlassian-plugins-webresource-compiler-gcc:jar:4.1.3:provided
[INFO] | +- jfree:jcommon:jar:1.0.8:provided
[INFO] | +- com.atlassian.gadgets:atlassian-gadgets-api:jar:5.0.0:provided
[INFO] | +- com.atlassian.johnson:atlassian-johnson-core:jar:4.0.0:provided
[INFO] | | \- com.atlassian.plugins:atlassian-plugins-servlet:jar:5.0.0:provided
[INFO] | +- joda-time:joda-time:jar:2.10.5:provided
[INFO] | +- commons-lang:commons-lang:jar:2.6:provided
[INFO] | +- org.apache.commons:commons-lang3:jar:3.8:provided
[INFO] | +- commons-io:commons-io:jar:2.6:provided
[INFO] | +- commons-httpclient:commons-httpclient:jar:3.1-atlassian-2:provided
[INFO] | +- log4j:log4j:jar:1.2.17-atlassian-2:provided
[INFO] | +- com.atlassian.profiling:atlassian-profiling:jar:3.2.0:provided
[INFO] | +- com.atlassian.scheduler:atlassian-scheduler-api:jar:3.0.0:provided
[INFO] | +- com.atlassian.analytics:analytics-api:jar:6.1.6:provided
[INFO] | +- com.atlassian.application:atlassian-application-api:jar:2.0.0:provided
[INFO] | \- com.atlassian:lucene-extras:jar:7.3.1-atlassian-4:provided
[INFO] +- junit:junit:jar:4.10:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.1:test
[INFO] +- com.atlassian.plugin:atlassian-spring-scanner-annotation:jar:1.2.13:provided
[INFO] +- javax.inject:javax.inject:jar:1:provided
[INFO] +- com.atlassian.plugins:atlassian-plugins-osgi-testrunner:jar:2.0.1:test
[INFO] +- javax.ws.rs:jsr311-api:jar:1.1.1:provided
[INFO] +- com.google.code.gson:gson:jar:2.2.2-atlassian-1:compile
[INFO] +- org.mockito:mockito-all:jar:1.8.5:test
[INFO] +- javax.servlet:servlet-api:jar:2.4:provided
[INFO] +- javax.xml.bind:jaxb-api:jar:2.3.1:provided
[INFO] | \- javax.activation:javax.activation-api:jar:1.2.0:provided
[INFO] +- com.atlassian.plugins.rest:atlassian-rest-common:jar:1.0.2:provided
[INFO] | +- com.atlassian.plugins.rest:com.atlassian.jersey-library:pom:1.0.2:provided
[INFO] | | +- com.sun.jersey:jersey-server:jar:1.0.3:provided
[INFO] | | | +- com.sun.jersey:jersey-core:jar:1.0.3:provided
[INFO] | | | \- asm:asm:jar:3.1:provided
[INFO] | | +- com.sun.jersey:jersey-json:jar:1.0.3:provided
[INFO] | | | +- org.codehaus.jettison:jettison:jar:1.0.1:provided
[INFO] | | | \- org.codehaus.jackson:jackson-asl:jar:0.9.4:provided
[INFO] | | \- commons-fileupload:commons-fileupload:jar:1.2.1:provided
[INFO] | \- net.sourceforge.findbugs:jsr305:jar:1.3.2:provided
[INFO] +- com.atlassian.sal:sal-api:jar:3.0.7:provided
[INFO] +- org.apache.wink:wink-client:jar:1.4:test
[INFO] | +- org.apache.wink:wink-common:jar:1.4:test
[INFO] | | +- org.apache.geronimo.specs:geronimo-jaxrs_1.1_spec:jar:1.0:test
[INFO] | | \- org.apache.geronimo.specs:geronimo-annotation_1.1_spec:jar:1.0:test
[INFO] | +- com.sun.xml.bind:jaxb-impl:jar:2.2.1.1:provided
[INFO] | \- javax.activation:activation:jar:1.1:test
[INFO] +- org.slf4j:slf4j-api:jar:1.6.6:provided
[INFO] +- org.apache.httpcomponents:httpclient:jar:4.1.1:test
[INFO] | +- org.apache.httpcomponents:httpcore:jar:4.1:test
[INFO] | +- commons-logging:commons-logging:jar:1.1.1:test
[INFO] | \- commons-codec:commons-codec:jar:1.4:provided
[INFO] +- com.atlassian.templaterenderer:atlassian-template-renderer-api:jar:2.0.0:provided
[INFO] | \- commons-collections:commons-collections:jar:3.2.1:provided
[INFO] +- org.misclient:misclient:jar:1.0:compile
[INFO] +- com.atlassian.aui:auiplugin:jar:8.0.0:provided
[INFO] +- com.atlassian.upm:licensing-api:jar:2.21.4:provided
[INFO] \- com.atlassian.upm:upm-api:jar:2.21:provided
I have even tried to add an exclusion
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
to every dependency in pom.xml, but xml-apis is still getting included. I guess it can be excluded dynamically somehow using OSGI services, but don't know how to do it. Any ideas? Thank you

Unsupported major.minor version 52.0 but the dependency don't exist

I have this error java.lang.UnsupportedClassVersionError: org/apache/commons/logging/LogFactory : Unsupported major.minor version 52.0, in the deployment pipeline.
This is because the server have jdk 1.7 and commons-logging is compiled with jdk 1.8, the problem is, when a execute mvn dependency:tree commons-logging don't exist in the tree, the same if I execute with -Dverbose
And I searched with de IDE (IntelliJ) "LogFactory" in the code, in the dependency tree but I found nothing and I do not know who uses that dependency.
This is the result of mvn dependency:tree:
[INFO] cl.YYYY:bs-project-t:war:2.69.10-SNAPSHOT
[INFO] +- com.YYYY.lib.shared:common-libs:jar:1.1.2:compile
[INFO] | +- javax.servlet:servlet-api:jar:2.5:compile
[INFO] | \- com.sun.jersey:jersey-core:jar:1.8:compile
[INFO] +- com.YYYY.lib.shared:crypto-utils:jar:1.5.3:compile
[INFO] | \- commons-codec:commons-codec:jar:1.10:compile
[INFO] +- org.apache.httpcomponents:httpclient:jar:4.5.4:compile
[INFO] | \- org.apache.httpcomponents:httpcore:jar:4.4.7:compile
[INFO] +- javax.inject:javax.inject:jar:1:compile
[INFO] +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.2.3:compile
[INFO] | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.2.3:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.2.3:compile
[INFO] | \- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.2.3:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.2.3:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.2.3:compile
[INFO] +- com.google.code.gson:gson:jar:2.8.1:compile
[INFO] +- log4j:log4j:jar:1.2.17:compile
[INFO] +- com.YYYY.lib.shared:spring-jar:jar:3.2:compile
[INFO] | +- org.springframework:spring-core:jar:3.2.18.RELEASE:compile
[INFO] | +- org.springframework:spring-web:jar:3.2.18.RELEASE:compile
[INFO] | +- org.springframework:spring-webmvc:jar:3.2.18.RELEASE:compile
[INFO] | +- org.springframework:spring-context-support:jar:3.2.18.RELEASE:compile
[INFO] | +- org.springframework:spring-aspects:jar:3.2.18.RELEASE:compile
[INFO] | | \- org.aspectj:aspectjweaver:jar:1.7.4:compile
[INFO] | +- org.springframework:spring-tx:jar:3.2.18.RELEASE:compile
[INFO] | +- org.springframework:spring-jms:jar:3.2.18.RELEASE:compile
[INFO] | +- org.springframework:spring-orm:jar:3.2.18.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:3.2.18.RELEASE:compile
[INFO] | | \- aopalliance:aopalliance:jar:1.0:compile
[INFO] | +- org.springframework:spring-beans:jar:3.2.18.RELEASE:compile
[INFO] | +- org.springframework:spring-context:jar:3.2.18.RELEASE:compile
[INFO] | +- org.springframework:spring-expression:jar:3.2.18.RELEASE:compile
[INFO] | +- org.springframework:spring-jdbc:jar:3.2.18.RELEASE:compile
[INFO] | +- org.springframework:spring-oxm:jar:3.2.18.RELEASE:compile
[INFO] | +- org.springframework.security:spring-security-config:jar:3.2.10.RELEASE:compile
[INFO] | +- org.springframework.security:spring-security-core:jar:3.2.10.RELEASE:compile
[INFO] | +- org.springframework.security:spring-security-web:jar:3.2.10.RELEASE:compile
[INFO] | +- org.springframework.ws:spring-ws-core:jar:2.4.0.RELEASE:compile
[INFO] | \- org.springframework.ws:spring-xml:jar:2.4.0.RELEASE:compile
[INFO] +- com.YYYY.lib.shared:server-core:jar:1.4.4.SNAPSHOT:compile
[INFO] | +- cl.YYYY:bankingrouter-common:jar:1.15.7-SNAPSHOT:compile
[INFO] | | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | | \- net.ttt.utils:resources-resolver:jar:1.5.1:compile
[INFO] | +- cl.YYYY:mobile-configuration-model:jar:1.1.3-SNAPSHOT:compile
[INFO] | | \- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | +- com.sun.jersey:jersey-server:jar:1.8:compile
[INFO] | | \- asm:asm:jar:3.1:compile
[INFO] | +- com.sun.jersey:jersey-json:jar:1.8:compile
[INFO] | | +- org.codehaus.jettison:jettison:jar:1.1:compile
[INFO] | | | \- stax:stax-api:jar:1.0.1:compile
[INFO] | | +- org.codehaus.jackson:jackson-core-asl:jar:1.7.1:compile
[INFO] | | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.7.1:compile
[INFO] | | +- org.codehaus.jackson:jackson-jaxrs:jar:1.7.1:compile
[INFO] | | \- org.codehaus.jackson:jackson-xc:jar:1.7.1:compile
[INFO] | +- com.sun.jersey.contribs:jersey-multipart:jar:1.8:compile
[INFO] | | \- org.jvnet:mimepull:jar:1.4:compile
[INFO] | +- com.sun.xml.bind:jaxb-impl:jar:2.2.4:compile
[INFO] | | \- javax.xml.bind:jaxb-api:jar:2.2.3:compile
[INFO] | | +- javax.xml.stream:stax-api:jar:1.0-2:compile
[INFO] | | \- javax.activation:activation:jar:1.1:compile
[INFO] | +- jaxen:jaxen:jar:1.1.1:compile
[INFO] | | +- xml-apis:xml-apis:jar:1.3.02:compile
[INFO] | | \- xom:xom:jar:1.0:compile
[INFO] | | +- xerces:xmlParserAPIs:jar:2.6.2:compile
[INFO] | | +- xalan:xalan:jar:2.6.0:compile
[INFO] | | \- com.ibm.icu:icu4j:jar:2.6.1:compile
[INFO] | +- net.sf.json-lib:json-lib:jar:jdk15:2.4:compile
[INFO] | | \- net.sf.ezmorph:ezmorph:jar:1.0.6:compile
[INFO] | +- commons-fileupload:commons-fileupload:jar:1.2.2:compile
[INFO] | +- org.apache.httpcomponents:httpmime:jar:4.1.3:compile
[INFO] | +- commons-dbcp:commons-dbcp:jar:1.4:compile
[INFO] | | \- commons-pool:commons-pool:jar:1.5.4:compile
[INFO] | +- commons-io:commons-io:jar:2.3:compile
[INFO] | +- org.jgroups:jgroups:jar:2.12.2.Final:compile
[INFO] | +- org.bouncycastle:bcprov-jdk16:jar:1.46:compile
[INFO] | +- net.ttt.cyberbank.view:ViewWidgetInterface:jar:1.0.3-SNAPSHOT:compile
[INFO] | +- net.lingala.zip4j:zip4j:jar:1.3.2:compile
[INFO] | \- org.owasp.esapi:esapi:jar:2.1.0:compile
[INFO] | +- commons-configuration:commons-configuration:jar:1.5:compile
[INFO] | | \- commons-digester:commons-digester:jar:1.8:compile
[INFO] | +- commons-beanutils:commons-beanutils-core:jar:1.7.0:compile
[INFO] | +- org.beanshell:bsh-core:jar:2.0b4:compile
[INFO] | \- org.owasp.antisamy:antisamy:jar:1.4.3:compile
[INFO] | +- org.apache.xmlgraphics:batik-css:jar:1.7:compile
[INFO] | | +- org.apache.xmlgraphics:batik-ext:jar:1.7:compile
[INFO] | | +- org.apache.xmlgraphics:batik-util:jar:1.7:compile
[INFO] | | \- xml-apis:xml-apis-ext:jar:1.3.04:compile
[INFO] | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.12:compile
[INFO] | \- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] +- ma.glasnost.orika:orika-core:jar:1.4.5:compile
[INFO] | +- org.javassist:javassist:jar:3.16.1-GA:compile
[INFO] | +- com.thoughtworks.paranamer:paranamer:jar:2.3:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.6.6:compile
[INFO] | +- com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.2_jdk5:compile
[INFO] | \- com.carrotsearch:java-sizeof:jar:0.0.4:compile
[INFO] +- commons-lang:commons-lang:jar:2.5:compile
[INFO] +- net.sf.dozer:dozer:jar:5.3.2:compile
[INFO] | \- commons-beanutils:commons-beanutils:jar:1.8.3:compile
[INFO] +- com.oracle:ojdbc14:jar:10.2.0.3.0:compile
[INFO] +- cl.YYYY.cyberbank.v2.config:YYYY-tmf-config:jar:mobile:1.7.5:compile
[INFO] | +- cl.YYYY.cyberbank.v2.cmm.bdm:cyberbank-custom-data-model:jar:1.1.8:compile
[INFO] | +- net.ttt.cyberbank.cmm.bdm.helper:TECH-messaging-helper:jar:1.2.0:compile
[INFO] | +- net.ttt.assets.cyberbank.cmm:messaging-utils:jar:3.6.0:compile
[INFO] | | +- net.ttt.utils:zip-utils:jar:1.1.2:compile
[INFO] | | +- net.sf.saxon:saxon:jar:8.7:compile
[INFO] | | \- org.apache.commons:commons-lang3:jar:3.1:compile
[INFO] | +- net.ttt.assets.cyberbank.cmm:oracle-weblogic-v10.3-dependencies:pom:1.0.0:compile
[INFO] | | \- weblogic:wlthint3client:jar:10.3.6.0:compile
[INFO] | +- net.ttt.assets.cyberbank.cmm:websphere-message-broker-v70-dependencies:pom:1.0.1:compile
[INFO] | | +- com.ibm:com.ibm.mq.commonservices:jar:7.0.1.10:compile
[INFO] | | +- com.ibm:com.ibm.mq:jar:7.0.1.10:compile
[INFO] | | +- com.ibm:com.ibm.mq.headers:jar:7.0.1.10:compile
[INFO] | | +- com.ibm:com.ibm.mq.jmqi:jar:7.0.1.10:compile
[INFO] | | +- com.ibm:com.ibm.mq.pcf:jar:7.0.1.10:compile
[INFO] | | +- com.ibm:connector:jar:7.0.1.10:compile
[INFO] | | \- com.ibm:com.ibm.mqjms:jar:7.0.1.10:compile
[INFO] | +- postgresql:postgresql:jar:8.1-404.jdbc3:compile
[INFO] | +- com.ibm:db2jcc4:jar:4.0.0:compile
[INFO] | +- net.ttt.logging:log4j-custom-fixes:jar:1.0.0:compile
[INFO] | +- net.ttt.techlog:techlog-client:jar:4.6.1:compile
[INFO] | | +- antlr:antlr:jar:2.7.2:compile
[INFO] | | +- castor:castor:jar:0.9.5:compile
[INFO] | | +- concurrent:concurrent:jar:1.3.4:compile
[INFO] | | +- org.apache.derby:derby:jar:10.1.1.0:compile
[INFO] | | +- javax.transaction:jta:jar:1.0.1B:compile
[INFO] | | +- oro:oro:jar:2.0.8:compile
[INFO] | | +- spice:spice-jndikit:jar:1.2:compile
[INFO] | | +- openjms:openjms:jar:0.7.6:compile
[INFO] | | +- org.jasypt:jasypt:jar:1.5:compile
[INFO] | | +- net.ttt.techlog:techlog-contingency:jar:2.1.3:compile
[INFO] | | | +- net.ttt.techlog:techlog-model:jar:4.2.2:provider
[INFO] | | | | \- org.jibx:jibx-bind:jar:1.2.5:runtime
[INFO] | | | | +- bcel:bcel:jar:5.1:runtime
[INFO] | | | | | \- regexp:regexp:jar:1.2:runtime
[INFO] | | | | \- com.thoughtworks.qdox:qdox:jar:1.12.1:runtime
[INFO] | | | \- com.mchange:c3p0:jar:0.9.2.1:provider
[INFO] | | | \- com.mchange:mchange-commons-java:jar:0.2.3.4:runtime
[INFO] | | \- javax.mail:mail:jar:1.4.4:compile
[INFO] | +- net.ttt.multichannel:workflow:jar:13.0.0:compile
[INFO] | | +- jboss:jbpm:jar:3.1.1:compile
[INFO] | | +- jdom:jdom:jar:b9:compile
[INFO] | | +- org.hibernate:hibernate:jar:3.2.5.ga:compile
[INFO] | | | +- net.sf.ehcache:ehcache:jar:1.2.3:compile
[INFO] | | | +- asm:asm-attrs:jar:1.5.3:compile
[INFO] | | | \- cglib:cglib:jar:2.1_3:compile
[INFO] | | +- c3p0:c3p0:jar:0.9.1.2:compile
[INFO] | | +- wsdl4j:wsdl4j:jar:1.6.2:compile
[INFO] | | +- wsdl4j:wsdl4j-qname:jar:1.6.1:compile
[INFO] | | +- org.springmodules:spring-modules-jbpm31:jar:0.8a:compile
[INFO] | | | +- geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc4:compile
[INFO] | | | +- ehcache:ehcache:jar:1.1:compile
[INFO] | | | +- hsqldb:hsqldb:jar:1.7.3.3:compile
[INFO] | | | \- cglib:cglib-nodep:jar:2.1_3:compile
[INFO] | | +- bsh:bsh:jar:1.3.0:compile
[INFO] | | +- net.ttt.utils:xml-evaluator-api:jar:1.2.0:compile
[INFO] | | +- net.ttt.techlog:extend-dialect:jar:1.1.0:compile
[INFO] | | +- net.ttt.utils:dummy-manager:jar:2.1.0:compile
[INFO] | | +- xpp3:xpp3:jar:1.1.3.3:compile
[INFO] | | +- com.sun.jndi:fscontext:jar:1.2:compile
[INFO] | | +- com.sun.jndi:providerutil:jar:1.2:compile
[INFO] | | +- com.ibm:dhbcore:jar:1.0.0:compile
[INFO] | | \- com.ibm.mq.jms.context:mqcontext:jar:2.3:compile
[INFO] | +- net.ttt.multichannel:tmf:jar:9.0.1:compile
[INFO] | | +- net.ttt.logging:log4j-custom-layouts:jar:1.1.0:compile
[INFO] | | \- net.ttt.assets.cache:cacheAPI:jar:1.0.0:compile
[INFO] | +- net.ttt.connectionpool:connection-pool:jar:2.6.0:compile
[INFO] | | \- javax.jms:jms:jar:1.1:compile
[INFO] | +- net.ttt.cyberbank.assets.css:client-side-services:jar:1.1.0:compile
[INFO] | +- net.ttt.cyberbank.assets:cache:jar:2.0.0:compile
[INFO] | | +- org.jboss.aop:jboss-aop:jar:2.1.8.GA:compile
[INFO] | | \- org.apache.jcs:jcs:jar:2.0.0-SNAPSHOT:compile
[INFO] | +- net.ttt.multichannel.css:massiveSelectAgrupationProduct:jar:1.0.0:compile
[INFO] | +- net.ttt.multichannel.css:massiveSelectAlertContextByFilter:jar:1.0.2:compile
[INFO] | +- net.ttt.multichannel.css:insertAlertContext:jar:1.0.2:compile
[INFO] | +- net.ttt.multichannel.css:processEntryToSetUpUri:jar:1.0.0:compile
[INFO] | +- net.ttt.multichannel:workflow-services-config-manager-action:jar:1.0.0:compile
[INFO] | \- net.ttt.assets.cyberbank.cmm:populate-channel-data-action:jar:2.0.0:compile
[INFO] +- net.ttt.widgets:mostrarTelefono:jar:1.0-SNAPSHOT:compile
[INFO] +- net.ttt.widgets:buttonWeb:jar:1.0-SNAPSHOT:compile
[INFO] +- net.ttt.widgets:widget-cmr-puntos:jar:1.2-SNAPSHOT:compile
[INFO] +- net.ttt.widgets:staticTextWidget:jar:1.0-SNAPSHOT:compile
[INFO] +- net.ttt.widgets:widget-clave-dinamica:jar:1.0-SNAPSHOT:compile
[INFO] +- net.ttt.widgets:buttonLink:jar:1.2-SNAPSHOT:compile
[INFO] +- net.ttt.widgets:textMessageCustomWidget:jar:1.0-SNAPSHOT:compile
[INFO] +- net.ttt.widgets:stepFieldWidget:jar:1.0-SNAPSHOT:compile
[INFO] +- net.ttt.widgets:textMessageAlignLeftRightWidget:jar:1.0-SNAPSHOT:compile
[INFO] +- net.ttt.widgets:groupDefinitionWidget:jar:1.0-SNAPSHOT:compile
[INFO] +- net.ttt.widgets:widget-progressBar:jar:1.0-SNAPSHOT:compile
[INFO] +- net.ttt.assets.cyberbank.cmm:root-messaging-model:jar:4.5.5:compile
[INFO] | +- org.jibx:jibx-run:jar:1.2.6:compile
[INFO] | +- org.jibx:jibx-extras:jar:1.2.6:compile
[INFO] | | \- org.jdom:jdom:jar:1.1.3:compile
[INFO] | +- org.apache.ws.security:wss4j:jar:1.6.6:compile
[INFO] | | +- org.apache.santuario:xmlsec:jar:1.5.2:compile
[INFO] | | \- org.opensaml:opensaml:jar:2.5.1-1:compile
[INFO] | | \- org.opensaml:openws:jar:1.4.2-1:compile
[INFO] | | \- org.opensaml:xmltooling:jar:1.3.2-1:compile
[INFO] | \- xerces:xercesImpl:jar:2.9.1:compile
[INFO] +- joda-time:joda-time:jar:2.9.9:compile
[INFO] +- junit:junit:jar:4.12:compile
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:compile
[INFO] +- org.mockito:mockito-all:jar:1.10.19:compile
[INFO] +- org.mock-server:mockserver-netty:jar:3.10.8:test
[INFO] | +- org.mock-server:mockserver-client-java:jar:3.10.8:test
[INFO] | +- org.mock-server:mockserver-core:jar:3.10.8:test
[INFO] | | +- javax.servlet:javax.servlet-api:jar:3.0.1:test
[INFO] | | +- io.netty:netty-codec-socks:jar:4.1.12.Final:test
[INFO] | | +- com.jcraft:jzlib:jar:1.1.3:test
[INFO] | | +- org.bouncycastle:bcmail-jdk15on:jar:1.56:test
[INFO] | | +- org.bouncycastle:bcpkix-jdk15on:jar:1.56:test
[INFO] | | +- org.skyscreamer:jsonassert:jar:1.2.3:test
[INFO] | | | \- org.json:json:jar:20090211:test
[INFO] | | \- com.github.fge:json-schema-validator:jar:2.2.6:test
[INFO] | | +- com.google.code.findbugs:jsr305:jar:3.0.0:test
[INFO] | | +- com.googlecode.libphonenumber:libphonenumber:jar:6.2:test
[INFO] | | +- com.github.fge:json-schema-core:jar:1.2.5:test
[INFO] | | | +- com.github.fge:uri-template:jar:0.9:test
[INFO] | | | | \- com.github.fge:msg-simple:jar:1.1:test
[INFO] | | | | \- com.github.fge:btf:jar:1.2:test
[INFO] | | | +- com.github.fge:jackson-coreutils:jar:1.8:test
[INFO] | | | \- org.mozilla:rhino:jar:1.7R4:test
[INFO] | | +- javax.mail:mailapi:jar:1.4.3:test
[INFO] | | \- net.sf.jopt-simple:jopt-simple:jar:4.6:test
[INFO] | +- io.netty:netty-buffer:jar:4.1.12.Final:test
[INFO] | +- io.netty:netty-codec:jar:4.1.12.Final:test
[INFO] | +- io.netty:netty-codec-http:jar:4.1.12.Final:test
[INFO] | +- io.netty:netty-common:jar:4.1.12.Final:test
[INFO] | +- io.netty:netty-handler:jar:4.1.12.Final:test
[INFO] | +- io.netty:netty-transport:jar:4.1.12.Final:test
[INFO] | | \- io.netty:netty-resolver:jar:4.1.12.Final:test
[INFO] | +- org.bouncycastle:bcprov-jdk15on:jar:1.56:test
[INFO] | +- com.google.guava:guava:jar:18.0:test
[INFO] | +- janino:janino:jar:2.5.10:test
[INFO] | \- org.mock-server:mockserver-logging:jar:3.10.8:test
[INFO] +- org.springframework:spring-test:jar:3.2.18.RELEASE:test
[INFO] \- org.mockito:mockito-core:jar:1.10.19:test
[INFO] \- org.objenesis:objenesis:jar:2.1:test

The SOAPBody content cannot be extracted if more than 1 child element exists

I'm trying to read a SOAP response (content-type multipart/mixed. Mime headers: application/soap+xml)
This is working for us in Java 1.6 and Weblogic 11g, but not in Java 1.7/Weblogic 12c. The extractContentAsDocument() that throws the exception is coming from: jar:file:/u01/app/oracle/Middleware/12c/oracle_common/modules/com.oracle.webservices.orasaaj-rt-api_12.1.2.jar!/oracle/j2ee/ws/saaj/soap/soap12/Body12.class
Error:
javax.xml.soap.SOAPException: The SOAPBody content cannot be extracted if more than 1 child element exists
at oracle.j2ee.ws.saaj.soap.BodyImpl.extractContentAsDocument(BodyImpl.java:233)
at queryProducer(queryProducer.java:84)
queryProducer.java:83:
SOAPMessage response = dispatch.invoke(request);
return response.getSOAPBody().extractContentAsDocument();
full response (as a string):
urn:ihe:iti:2007:CrossGatewayQueryResponse
f3116ff8-378d-11e4-b68e-8f828f8a95e9
urn:ihe:iti:2007:CrossGatewayQuery
<AdhocQueryResponse xmlns="urn:mynamespace" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success">
...
Maven Dependency Tree:
[INFO] mypackage.myapp:myapp_wrap_haims_query:war:4.4.1.158-SNAPSHOT
[INFO] +- mypackage.integration:integration-bpm:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | +- mypackage.integration:integration-http:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | | \- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.7.7:compile
[INFO] | | +- org.apache.cxf:cxf-api:jar:2.7.7:compile
[INFO] | | | +- org.codehaus.woodstox:woodstox-core-asl:jar:4.2.0:compile
[INFO] | | | | \- org.codehaus.woodstox:stax2-api:jar:3.1.1:compile
[INFO] | | | +- org.apache.ws.xmlschema:xmlschema-core:jar:2.0.3:compile
[INFO] | | | \- org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.7.1:compile
[INFO] | | +- org.apache.cxf:cxf-rt-core:jar:2.7.7:compile
[INFO] | | +- javax.ws.rs:javax.ws.rs-api:jar:2.0-m10:compile
[INFO] | | +- org.apache.cxf:cxf-rt-bindings-xml:jar:2.7.7:compile
[INFO] | | \- org.apache.cxf:cxf-rt-transports-http:jar:2.7.7:compile
[INFO] | +- xalan:xalan:jar:2.7.1:compile
[INFO] | | \- xalan:serializer:jar:2.7.1:compile
[INFO] | +- xerces:xercesImpl:jar:2.9.0:provided
[INFO] | +- org.hibernate:hibernate-core:jar:3.6.10.Final:compile
[INFO] | | +- antlr:antlr:jar:2.7.6:compile
[INFO] | | +- commons-collections:commons-collections:jar:3.1:compile
[INFO] | | +- org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final:compile
[INFO] | | +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0.Final:compile
[INFO] | | \- javax.transaction:jta:jar:1.1:compile
[INFO] | +- org.hibernate:hibernate-entitymanager:jar:3.6.10.Final:compile
[INFO] | | \- javassist:javassist:jar:3.12.0.GA:compile
[INFO] | \- org.apache.commons:commons-lang3:jar:3.1:compile
[INFO] +- mypackage.integration:integration-core:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | +- org.springframework:spring-web:jar:3.0.5.RELEASE:compile
[INFO] | +- org.safehaus.jug:jug:jar:asl:2.0.0:compile
[INFO] | +- net.sf.dozer:dozer:jar:5.3.2:compile
[INFO] | | +- commons-beanutils:commons-beanutils:jar:1.8.3:compile
[INFO] | | \- commons-lang:commons-lang:jar:2.5:compile
[INFO] | +- net.sf.json-lib:json-lib:jar:jdk15:2.3:compile
[INFO] | | \- net.sf.ezmorph:ezmorph:jar:1.0.6:compile
[INFO] | +- xom:xom:jar:1.1:compile
[INFO] | | +- xerces:xmlParserAPIs:jar:2.6.2:provided
[INFO] | | \- jaxen:jaxen:jar:1.1.1:compile
[INFO] | +- org.aspectj:aspectjtools:jar:1.5.4:compile
[INFO] | +- cglib:cglib:jar:2.2.2:compile
[INFO] | +- gov.hhs.healthit.nhin.connect:common-types:jar:2.4:compile
[INFO] | +- commons-codec:commons-codec:jar:1.6:compile
[INFO] | +- commons-io:commons-io:jar:2.0.1:compile
[INFO] | \- com.sun.xml.messaging.saaj:saaj-impl:jar:1.3.19:compile
[INFO] | \- org.jvnet.mimepull:mimepull:jar:1.7:compile
[INFO] +- mypackage.integration:integration-test:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | +- xmlunit:xmlunit:jar:1.3:test
[INFO] | \- eviware:maven-soapui-plugin:jar:4.5.1:test
[INFO] | +- org.apache.maven:maven-plugin-api:jar:2.0:test
[INFO] | +- eviware:soapui:jar:4.5.1:test
[INFO] | +- javax.activation:activation:jar:1.1:compile
[INFO] | +- javax.mail:mail:jar:1.4:compile
[INFO] | +- wsdl4j:wsdl4j:jar:1.6.2-fixed:compile
[INFO] | +- commons-ssl:not-yet-commons-ssl:jar:0.3.11:test
[INFO] | +- commons-cli:commons-cli:jar:1.0:test
[INFO] | +- json:json-lib:jar:2.2.2-jdk15:test
[INFO] | +- ezmorph:ezmorph:jar:1.0.5:test
[INFO] | +- swingx:swingx:jar:soapui:test
[INFO] | +- groovy:groovy-all:jar:1.8.0:test
[INFO] | +- rhino:js:jar:1.7R2:test
[INFO] | +- jetty:jetty:jar:6.1.26:test
[INFO] | +- jetty:jetty-util:jar:6.1.26:test
[INFO] | +- jetty:servlet-api:jar:2.5-20081211:test
[INFO] | +- net-components:netcomponents:jar:1.3.8a:test
[INFO] | +- xmlbeans:xbean:jar:fixed-2.4.0:test
[INFO] | +- xmlbeans:xbean_xpath:jar:2.4.0:test
[INFO] | +- xmlbeans:xmlpublic:jar:2.4.0:test
[INFO] | +- xmlbeans:jsr173:jar:xmlbeans-2.4.0:test
[INFO] | +- eviware:soapui-xmlbeans:jar:4.5.1:test
[INFO] | +- eviware:policy-xmlbeans:jar:1.5:test
[INFO] | +- eviware:soap-xmlbeans:jar:1.2:test
[INFO] | +- eviware:wadl-xmlbeans:jar:1.1:test
[INFO] | +- eviware:j2ee-xmlbeans:jar:1.4:test
[INFO] | +- eviware:ext-xmlbeans:jar:1.2:test
[INFO] | +- saxon:saxon:jar:9.1.0.8j:test
[INFO] | +- saxon:saxon-dom:jar:9.1.0.8j:test
[INFO] | +- xml-security:xmlsec:jar:1.4.3:test
[INFO] | +- opensaml:opensaml:jar:1.1:test
[INFO] | +- wss4j:wss4j:jar:1.5.8:test
[INFO] | +- bouncycastle:bcprov-jdk15:jar:144:test
[INFO] | +- jtidy:jtidy:jar:r872-jdk15:test
[INFO] | +- javax.jms:jms:jar:1.1:test
[INFO] | +- hermesjms:hermes:jar:1.14:test
[INFO] | +- amf:flex-messaging-common:jar:1.0:test
[INFO] | +- amf:flex-messaging-core:jar:1.0:test
[INFO] | +- amf:flex-messaging-opt:jar:1.0:test
[INFO] | +- amf:flex-messaging-proxy:jar:1.0:test
[INFO] | +- amf:flex-messaging-remoting:jar:1.0:test
[INFO] | +- thoughtworks:xstream:jar:1.3.1:test
[INFO] | +- net.sourceforge.htmlunit:htmlunit:jar:2.7:test
[INFO] | | \- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] | +- org.w3c.css:sac:jar:1.3:test
[INFO] | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.7:test
[INFO] | +- net.sourceforge.cssparser:cssparser:jar:0.9.5:test
[INFO] | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.14:test
[INFO] | +- fife:rsyntaxtextarea:jar:1.3.4:test
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.1.1:test
[INFO] | +- org.apache.httpcomponents:httpmime:jar:4.1.1:test
[INFO] | +- org.apache.httpcomponents:httpclient-cache:jar:4.1.1:test
[INFO] | +- org.apache.httpcomponents:httpcore:jar:4.1.1:test
[INFO] | +- org.apache.httpcomponents:httpcore-nio:jar:4.1.1:test
[INFO] | \- org.samba.jcifs:jcifs:jar:1.2.9:test
[INFO] +- mypackage.myapp:myapp_common:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | +- mypackage.integration:integration-jms:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | | \- ca.uhn.hapi:hapi-base:jar:0.6:compile
[INFO] | \- mypackage.integration:integration-feed:jar:4.4.1.158-SNAPSHOT:compile
[INFO] +- mypackage.myapp:myapp_mock:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | +- mypackage.integration:integration-hl7:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | +- mypackage.myapp:myapp_bindings:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | \- mypackage.myapp:myapp_audit:jar:4.4.1.158-SNAPSHOT:compile
[INFO] +- org.springframework:spring-core:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-asm:jar:3.0.5.RELEASE:compile
[INFO] | \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] +- org.springframework:spring-expression:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-aop:jar:3.0.5.RELEASE:compile
[INFO] | \- aopalliance:aopalliance:jar:1.0:compile
[INFO] +- org.springframework:spring-context:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-tx:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-orm:jar:3.0.5.RELEASE:compile
[INFO] | \- org.springframework:spring-jdbc:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-jms:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-context-support:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-core:jar:3.1.0.RC2:compile
[INFO] +- org.springframework.ws:spring-ws:jar:2.0.0-M1:compile
[INFO] +- org.springframework:spring-oxm:jar:3.0.5.RELEASE:compile
[INFO] +- com.sun.jersey:jersey-server:jar:1.8:compile
[INFO] | +- asm:asm:jar:3.3.1:compile
[INFO] | \- com.sun.jersey:jersey-core:jar:1.8:compile
[INFO] +- com.sun.jersey:jersey-client:jar:1.8:compile
[INFO] +- com.sun.jersey:jersey-json:jar:1.8:compile
[INFO] | +- org.codehaus.jettison:jettison:jar:1.1:compile
[INFO] | | \- stax:stax-api:jar:1.0.1:compile
[INFO] | +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
[INFO] | | \- javax.xml.bind:jaxb-api:jar:2.2.2:compile
[INFO] | | \- javax.xml.stream:stax-api:jar:1.0-2:compile
[INFO] | +- org.codehaus.jackson:jackson-core-asl:jar:1.7.1:compile
[INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.7.1:compile
[INFO] | +- org.codehaus.jackson:jackson-jaxrs:jar:1.7.1:compile
[INFO] | \- org.codehaus.jackson:jackson-xc:jar:1.7.1:compile
[INFO] +- com.sun.jersey.contribs:jersey-atom-abdera:jar:1.8:compile
[INFO] | +- org.apache.abdera:abdera-parser:jar:1.0:compile
[INFO] | | +- org.apache.abdera:abdera-core:jar:1.0:compile
[INFO] | | | +- org.apache.abdera:abdera-i18n:jar:1.0:compile
[INFO] | | | \- org.apache.geronimo.specs:geronimo-activation_1.0.2_spec:jar:1.1:compile
[INFO] | | +- org.apache.ws.commons.axiom:axiom-impl:jar:1.2.5:compile
[INFO] | | | \- org.apache.ws.commons.axiom:axiom-api:jar:1.2.5:compile
[INFO] | | +- org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile
[INFO] | | \- org.codehaus.woodstox:wstx-asl:jar:3.2.6:runtime
[INFO] | \- org.apache.abdera:abdera-extensions-json:jar:1.0:compile
[INFO] | +- org.apache.abdera:abdera-server:jar:1.0:compile
[INFO] | | \- javax.servlet:servlet-api:jar:2.4:compile
[INFO] | +- org.apache.abdera:abdera-extensions-main:jar:1.0:compile
[INFO] | | \- org.apache.abdera:abdera-client:jar:1.0:compile
[INFO] | \- org.apache.abdera:abdera-extensions-html:jar:1.0:compile
[INFO] | \- nu.validator.htmlparser:htmlparser:jar:1.0.5:compile
[INFO] +- com.sun.jersey:jersey-atom:jar:1.8:compile
[INFO] | +- rome:rome:jar:0.9:compile
[INFO] | \- jdom:jdom:jar:1.0:compile
[INFO] +- com.sun.jersey.contribs:jersey-multipart:jar:1.8:compile
[INFO] | \- org.jvnet:mimepull:jar:1.4:compile
[INFO] +- com.sun.jersey.contribs:jersey-spring:jar:1.8:compile
[INFO] +- com.sun.jersey.contribs:jersey-guice:jar:1.8:compile
[INFO] | +- javax.inject:javax.inject:jar:1:compile
[INFO] | +- com.google.inject:guice:jar:3.0:compile
[INFO] | \- com.google.inject.extensions:guice-servlet:jar:3.0:compile
[INFO] +- net.sf.saxon:saxon:jar:9.1.0.8:compile
[INFO] +- net.sf.saxon:saxon-dom:jar:9.1.0.8:compile
[INFO] +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | \- xml-apis:xml-apis:jar:1.0.b2:provided
[INFO] +- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] +- org.slf4j:com.springsource.slf4j.org.apache.commons.logging:jar:1.6.1:runtime
[INFO] +- org.slf4j:com.springsource.slf4j.log4j:jar:1.6.1:runtime
[INFO] +- log4j:log4j:jar:1.2.16:compile
[INFO] +- org.eclipse.jetty:jetty-server:jar:7.6.13.v20130916:test
[INFO] | +- org.eclipse.jetty.orbit:javax.servlet:jar:2.5.0.v201103041518:test
[INFO] | +- org.eclipse.jetty:jetty-continuation:jar:7.6.13.v20130916:test
[INFO] | \- org.eclipse.jetty:jetty-http:jar:7.6.13.v20130916:test
[INFO] | \- org.eclipse.jetty:jetty-io:jar:7.6.13.v20130916:test
[INFO] | \- org.eclipse.jetty:jetty-util:jar:7.6.13.v20130916:test
[INFO] +- junit:junit:jar:4.8.2:test
[INFO] +- com.oracle:ojdbc6:jar:11.1.0.6.0:test
[INFO] \- org.springframework:spring-test:jar:3.0.5.RELEASE:test
I had the same problem with the same exception and message. We were using a mocking service that returned canned XML for matched requests. The problem was that the SOAP Body element had whitespace around its child and that triggered this exception.
Usually normal webservices generate one line XML that is consumed without any problems.
OK... I had the exactly same problem and solved it.
It's actually workaround.
Create your Envelope.class and Body.class, for example:
#XmlRootElement(name = "Envelope", namespace = "http://schemas.xmlsoap.org/soap/envelope/")
public class Envelope {
#XmlElement(name = "Body", namespace = "http://schemas.xmlsoap.org/soap/envelope/")
private Body body;
public Body getBody() {
return body;
}
public void setBody() {
this.body = new Body();
}
}
and
#XmlType
public class Body {
#XmlElement(name = "NameOfElementChildInBody", namespace = "namespace if needed for body")
private POJOClassOfElementChildInBody someVariableName;
public void setterIfNeeded(POJOClassOfElementChildInBody someVariableName) {
this.someVariableName = someVariableName;
}
}
and in your code put:
SOAPMessage response = dispatch.invoke(request);
ByteArrayOutputStream out = new ByteArrayOutputStream();
response.writeTo(out);
JAXBContext jc = JAXBContext.newInstance(Envelope.class);
Unmarshaller um = jc.createUnmarshaller();
Envelope envelope = (Envelope) um.unmarshal(new ByteArrayInputStream(out.toByteArray()));
Body body = envelope.getBody();
body.methodFromWsdl... etc.
I tried different things to get this to work and got it working, as specified here: java.lang.NoClassDefFoundError: org/apache/cxf/jaxrs/impl/UriBuilderImpl. I think the main thing may have been to upgrade the version of Jersey and prefer it from the application packages.

Categories