I am getting NoSuchMethodError
and the error is:
Caused by: java.lang.NoSuchMethodError: com.google.common.cache.CacheBuilder.maximumSize(J)Lcom/google/common/cache/CacheBuilder;
at springfox.documentation.spring.web.scanners.CachingOperationReader.<init>(CachingOperationReader.java:44) ~[springfox-spring-web-2.7.0.jar:2.7.0]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_172]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_172]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_172]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_172]
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:170) ~[spring-beans-5.0.8.RELEASE.jar:5.0.8.RELEASE]
... 60 common frames omitted
I think the reason of error is because CacheBuilder is available in two jars. I am building a spring-boot product with drool and swagger. My dependency list contain following dependencies
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-ci</artifactId>
<version>${kie.version}</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>${swagger.version}</version>
</dependency>
now kie-ci has sisu-guava and swagger has guava jar which I found by running
mvn dependency:tree -Dverbose | grep guava
$ mvn dependency:tree -Dverbose | grep guava
[INFO] | | | \- org.sonatype.sisu:sisu-guava:jar:0.9.9:compile
[INFO] +- com.google.guava:guava:jar:18.0:compile
output of dependency tree is
$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building pricing 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.0.2:tree (default-cli) # pricing ---
[INFO] com.wf:pricing:jar:0.0.1-SNAPSHOT
[INFO] +- org.springframework.boot:spring-boot-starter-aop:jar:2.0.4.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.0.4.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:2.0.4.RELEASE:compile
[INFO] | | | +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO] | | | | \- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] | | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.10.0:compile
[INFO] | | | | \- org.apache.logging.log4j:log4j-api:jar:2.10.0:compile
[INFO] | | | \- org.slf4j:jul-to-slf4j:jar:1.7.25:compile
[INFO] | | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] | | \- org.yaml:snakeyaml:jar:1.19:runtime
[INFO] | +- org.springframework:spring-aop:jar:5.0.8.RELEASE:compile
[INFO] | | \- org.springframework:spring-beans:jar:5.0.8.RELEASE:compile
[INFO] | \- org.aspectj:aspectjweaver:jar:1.8.13:compile
[INFO] +- org.springframework.boot:spring-boot-starter-data-rest:jar:2.0.4.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-json:jar:2.0.4.RELEASE:compile
[INFO] | | +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.6:compile
[INFO] | | | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.6:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.6:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.6:compile
[INFO] | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.6:compile
[INFO] | \- org.springframework.data:spring-data-rest-webmvc:jar:3.0.9.RELEASE:compile
[INFO] | +- org.springframework.data:spring-data-rest-core:jar:3.0.9.RELEASE:compile
[INFO] | | +- org.springframework:spring-tx:jar:5.0.8.RELEASE:compile
[INFO] | | +- org.springframework.hateoas:spring-hateoas:jar:0.25.0.RELEASE:compile
[INFO] | | +- org.springframework.data:spring-data-commons:jar:2.0.9.RELEASE:compile
[INFO] | | \- org.atteo:evo-inflector:jar:1.2.2:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.0.4.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.0.4.RELEASE:compile
[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.32:compile
[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.32:compile
[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.32:compile
[INFO] | +- org.hibernate.validator:hibernate-validator:jar:6.0.11.Final:compile
[INFO] | | +- javax.validation:validation-api:jar:2.0.1.Final:compile
[INFO] | | \- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
[INFO] | +- org.springframework:spring-web:jar:5.0.8.RELEASE:compile
[INFO] | \- org.springframework:spring-webmvc:jar:5.0.8.RELEASE:compile
[INFO] | +- org.springframework:spring-context:jar:5.0.8.RELEASE:compile
[INFO] | \- org.springframework:spring-expression:jar:5.0.8.RELEASE:compile
[INFO] +- org.springframework.boot:spring-boot-devtools:jar:2.0.4.RELEASE:runtime
[INFO] | +- org.springframework.boot:spring-boot:jar:2.0.4.RELEASE:compile
[INFO] | \- org.springframework.boot:spring-boot-autoconfigure:jar:2.0.4.RELEASE:compile
[INFO] +- com.h2database:h2:jar:1.4.197:runtime
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.0.4.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test:jar:2.0.4.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.0.4.RELEASE:test
[INFO] | +- com.jayway.jsonpath:json-path:jar:2.4.0:test
[INFO] | | \- net.minidev:json-smart:jar:2.3:test
[INFO] | | \- net.minidev:accessors-smart:jar:1.2:test
[INFO] | | \- org.ow2.asm:asm:jar:5.0.4:test
[INFO] | +- junit:junit:jar:4.12:test
[INFO] | +- org.assertj:assertj-core:jar:3.9.1:test
[INFO] | +- org.mockito:mockito-core:jar:2.15.0:test
[INFO] | | +- net.bytebuddy:byte-buddy:jar:1.7.11:compile
[INFO] | | +- net.bytebuddy:byte-buddy-agent:jar:1.7.11:test
[INFO] | | \- org.objenesis:objenesis:jar:2.6:test
[INFO] | +- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] | +- org.hamcrest:hamcrest-library:jar:1.3: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.springframework:spring-core:jar:5.0.8.RELEASE:compile
[INFO] | | \- org.springframework:spring-jcl:jar:5.0.8.RELEASE:compile
[INFO] | +- org.springframework:spring-test:jar:5.0.8.RELEASE:test
[INFO] | \- org.xmlunit:xmlunit-core:jar:2.5.1:test
[INFO] +- org.kie:kie-ci:jar:6.1.0.Final:compile
[INFO] | +- org.drools:drools-core:jar:6.1.0.Final:compile
[INFO] | | +- org.mvel:mvel2:jar:2.2.1.Final:compile
[INFO] | | +- org.kie:kie-api:jar:6.1.0.Final:compile
[INFO] | | \- org.kie:kie-internal:jar:6.1.0.Final:compile
[INFO] | +- org.drools:drools-compiler:jar:6.1.0.Final:compile
[INFO] | | +- org.antlr:antlr-runtime:jar:3.5:compile
[INFO] | | +- org.eclipse.jdt.core.compiler:ecj:jar:4.3.1:compile
[INFO] | | +- com.thoughtworks.xstream:xstream:jar:1.4.7:compile
[INFO] | | | +- xmlpull:xmlpull:jar:1.1.3.1:compile
[INFO] | | | \- xpp3:xpp3_min:jar:1.1.4c:compile
[INFO] | | \- com.google.protobuf:protobuf-java:jar:2.5.0:compile
[INFO] | +- org.apache.maven:maven-core:jar:3.0.5:compile
[INFO] | | +- org.apache.maven:maven-settings:jar:3.0.5:compile
[INFO] | | +- org.apache.maven:maven-settings-builder:jar:3.0.5:compile
[INFO] | | +- org.apache.maven:maven-repository-metadata:jar:3.0.5:compile
[INFO] | | +- org.apache.maven:maven-artifact:jar:3.0.5:compile
[INFO] | | +- org.apache.maven:maven-plugin-api:jar:3.0.5:compile
[INFO] | | +- org.apache.maven:maven-model-builder:jar:3.0.5:compile
[INFO] | | +- org.apache.maven:maven-aether-provider:jar:3.0.5:compile
[INFO] | | +- org.sonatype.sisu:sisu-inject-plexus:jar:2.3.0:compile
[INFO] | | | \- org.sonatype.sisu:sisu-inject-bean:jar:2.3.0:compile
[INFO] | | | \- org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0:compile
[INFO] | | | \- org.sonatype.sisu:sisu-guava:jar:0.9.9:compile
[INFO] | | +- org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[INFO] | | +- org.codehaus.plexus:plexus-utils:jar:2.0.6:compile
[INFO] | | +- org.codehaus.plexus:plexus-classworlds:jar:2.4:compile
[INFO] | | +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[INFO] | | \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[INFO] | | \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[INFO] | +- org.apache.maven:maven-model:jar:3.0.5:compile
[INFO] | +- org.apache.maven:maven-compat:jar:3.0.5:compile
[INFO] | | \- org.apache.maven.wagon:wagon-provider-api:jar:2.4:compile
[INFO] | +- org.sonatype.aether:aether-api:jar:1.13.1:compile
[INFO] | +- org.sonatype.aether:aether-util:jar:1.13.1:compile
[INFO] | +- org.sonatype.aether:aether-impl:jar:1.13.1:compile
[INFO] | | \- org.sonatype.aether:aether-spi:jar:1.13.1:compile
[INFO] | +- org.sonatype.aether:aether-connector-wagon:jar:1.13.1:compile
[INFO] | +- org.sonatype.aether:aether-connector-file:jar:1.13.1:compile
[INFO] | +- org.apache.ant:ant:jar:1.8.2:compile
[INFO] | | \- org.apache.ant:ant-launcher:jar:1.8.2:compile
[INFO] | +- org.apache.maven.wagon:wagon-http:jar:2.0:compile
[INFO] | | +- org.apache.maven.wagon:wagon-http-shared4:jar:2.0:compile
[INFO] | | | +- org.jsoup:jsoup:jar:1.6.1:compile
[INFO] | | | +- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] | | | \- commons-io:commons-io:jar:2.0.1:compile
[INFO] | | \- org.apache.httpcomponents:httpclient:jar:4.5.6:compile
[INFO] | | \- commons-codec:commons-codec:jar:1.11:compile
[INFO] | \- org.apache.httpcomponents:httpcore:jar:4.4.10:compile
[INFO] \- io.springfox:springfox-swagger2:jar:2.7.0:compile
[INFO] +- io.swagger:swagger-annotations:jar:1.5.13:compile
[INFO] +- io.swagger:swagger-models:jar:1.5.13:compile
[INFO] +- io.springfox:springfox-spi:jar:2.7.0:compile
[INFO] | \- io.springfox:springfox-core:jar:2.7.0:compile
[INFO] +- io.springfox:springfox-schema:jar:2.7.0:compile
[INFO] +- io.springfox:springfox-swagger-common:jar:2.7.0:compile
[INFO] +- io.springfox:springfox-spring-web:jar:2.7.0:compile
[INFO] | \- org.reflections:reflections:jar:0.9.11:compile
[INFO] | \- org.javassist:javassist:jar:3.21.0-GA:compile
[INFO] +- com.google.guava:guava:jar:18.0:compile
[INFO] +- com.fasterxml:classmate:jar:1.3.4:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.7.25:compile
[INFO] +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile
[INFO] +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile
[INFO] \- org.mapstruct:mapstruct:jar:1.1.0.Final:compile
Any suggestion which jar I need to exclude.
I faced a very similar problem, I solved it by puting the dependency I need in pom, and make sure put it before the one you don't need. e.g. you actually need com.google.guava:guava not org.sonatype.sisu:sisu-guava, then put com.google.guava:guava in pom, and make sure it is before parent package of com.google.guava:guava.
Related
This is wired my spring boot application was working fine with spring-kafka dependency. For application monitoring with prometheus as soon I add spring-boot-starter-actuator dependency, my application blows up with exception.
If I remove the spring-boot-starter-actuator dependency application works fine. It seems spring-kafka has some compatibility issue with spring-boot-starter-actuator. Actuator is not able to collect/publish Kafka metrics. Please suggest how can I do my springboot application monitoring with actuator & prometheus
EDIT
After updating the spring-kafka and kafka-clients dependencies as per the compatibility matrix, I started getting exception in my junits for EmbeddedKafkaBroker server startup. The method org.apache.kafka.common.security.JaasUtils.isZkSecurityEnabled() seems to be removed/updated in kafka-clients which is being called from EmbeddedKafkaBroker class of sprint-kafka-test. The exception stack trace is updated below. Also provided mvn dependency tree.
If dependencies are included as per compatibility suggested by spring, what can be the reason that spring-kafka-test and kafka-clients are not in sync. Please suggest to resolve this error.
pom.xml (Edited)
<properties>
<spring-boot.version>2.3.0.RELEASE</spring-boot.version>
<spring.version>5.2.6.RELEASE</spring.version>
<springkafka.version>2.5.1.RELEASE</springkafka.version>
<kafkaclient.version>2.5.0</kafkaclient.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<version>1.5.3</version>
</dependency>
</dependencies>
Exception stack trace (Edited)
[ERROR]:::[]:[]:[]:[]:[Fatal error during KafkaServer startup. Prepare to shutdown]
java.lang.NoSuchMethodError: org.apache.kafka.common.security.JaasUtils.isZkSecurityEnabled()Z
at kafka.server.KafkaServer.initZkClient(KafkaServer.scala:384)
at kafka.server.KafkaServer.startup(KafkaServer.scala:207)
at kafka.utils.TestUtils$.createServer(TestUtils.scala:159)
at kafka.utils.TestUtils$.createServer(TestUtils.scala:150)
at kafka.utils.TestUtils.createServer(TestUtils.scala)
at org.springframework.kafka.test.EmbeddedKafkaBroker.afterPropertiesSet(EmbeddedKafkaBroker.java:309)
at org.springframework.kafka.test.rule.EmbeddedKafkaRule.before(EmbeddedKafkaRule.java:113)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:50)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
mvn dependency:tree
[INFO] +- org.springframework.boot:spring-boot-starter:jar:2.3.0.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot:jar:2.3.0.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.3.0.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-logging:jar:2.3.0.RELEASE:compile
[INFO] | | +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO] | | | \- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.13.2:compile
[INFO] | | \- org.slf4j:jul-to-slf4j:jar:1.7.30:compile
[INFO] | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] | +- org.springframework:spring-core:jar:5.2.6.RELEASE:compile
[INFO] | | \- org.springframework:spring-jcl:jar:5.2.6.RELEASE:compile
[INFO] | \- org.yaml:snakeyaml:jar:1.26:compile
[INFO] +- org.springframework.boot:spring-boot-starter-data-redis:jar:2.3.0.RELEASE:compile
[INFO] | +- org.springframework.data:spring-data-redis:jar:2.3.0.RELEASE:compile
[INFO] | | +- org.springframework.data:spring-data-keyvalue:jar:2.3.0.RELEASE:compile
[INFO] | | +- org.springframework:spring-oxm:jar:5.2.6.RELEASE:compile
[INFO] | | \- org.springframework:spring-aop:jar:5.2.6.RELEASE:compile
[INFO] | \- io.lettuce:lettuce-core:jar:5.3.0.RELEASE:compile
[INFO] | \- io.projectreactor:reactor-core:jar:3.3.5.RELEASE:compile
[INFO] | \- org.reactivestreams:reactive-streams:jar:1.0.3:compile
[INFO] +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.11.3:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.11.3:compile
[INFO] +- org.springframework.boot:spring-boot-starter-quartz:jar:2.3.0.RELEASE:compile
[INFO] | +- org.springframework:spring-context-support:jar:5.2.6.RELEASE:compile
[INFO] | \- org.quartz-scheduler:quartz:jar:2.3.2:compile
[INFO] | \- com.mchange:mchange-commons-java:jar:0.2.15:compile
[INFO] +- com.google.guava:guava:jar:19.0:compile
[INFO] +- io.netty:netty-handler-proxy:jar:4.1.46.Final:compile
[INFO] | +- io.netty:netty-common:jar:4.1.46.Final:compile
[INFO] | +- io.netty:netty-buffer:jar:4.1.46.Final:compile
[INFO] | +- io.netty:netty-transport:jar:4.1.46.Final:compile
[INFO] | +- io.netty:netty-codec:jar:4.1.46.Final:compile
[INFO] | +- io.netty:netty-codec-socks:jar:4.1.46.Final:compile
[INFO] | \- io.netty:netty-codec-http:jar:4.1.46.Final:compile
[INFO] +- io.netty:netty-codec-http2:jar:4.1.46.Final:compile
[INFO] | \- io.netty:netty-handler:jar:4.1.46.Final:compile
[INFO] +- com.bmc.aif:aif-core-grpc-library:jar:1.0.00-SNAPSHOT:compile
[INFO] | +- io.grpc:grpc-netty:jar:1.6.1:compile
[INFO] | +- io.grpc:grpc-core:jar:1.6.1:compile
[INFO] | +- io.grpc:grpc-context:jar:1.6.1:compile
[INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.0.19:compile
[INFO] | +- com.google.code.findbugs:jsr305:jar:3.0.0:compile
[INFO] | +- com.google.instrumentation:instrumentation-api:jar:0.4.3:compile
[INFO] | +- io.opencensus:opencensus-api:jar:0.5.1:compile
[INFO] | +- io.netty:netty-resolver:jar:4.1.46.Final:compile
[INFO] | +- io.grpc:grpc-protobuf:jar:1.6.1:compile
[INFO] | +- com.google.protobuf:protobuf-java:jar:3.3.1:compile
[INFO] | +- com.google.protobuf:protobuf-java-util:jar:3.3.1:compile
[INFO] | +- com.google.api.grpc:proto-google-common-protos:jar:0.1.9:compile
[INFO] | | \- com.google.api:api-common:jar:1.0.0-rc1:compile
[INFO] | | \- com.google.auto.value:auto-value:jar:1.1:compile
[INFO] | +- io.grpc:grpc-protobuf-lite:jar:1.6.1:compile
[INFO] | | \- com.google.protobuf:protobuf-lite:jar:3.0.1:compile
[INFO] | +- io.grpc:grpc-stub:jar:1.6.1:compile
[INFO] | \- javax.annotation:javax.annotation-api:jar:1.2:compile
[INFO] +- com.bmc.aif:kafka-messaging-library:jar:1.0.00-SNAPSHOT:compile
[INFO] | +- org.eclipse.collections:eclipse-collections:jar:10.2.0:compile
[INFO] | \- org.eclipse.collections:eclipse-collections-api:jar:10.2.0:compile
[INFO] +- com.bmc.aif:aif-job-manager-grpc-library:jar:1.0.00-SNAPSHOT:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.3.0.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test:jar:2.3.0.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.3.0.RELEASE:test
[INFO] | +- com.jayway.jsonpath:json-path:jar:2.4.0:test
[INFO] | | \- net.minidev:json-smart:jar:2.3:test
[INFO] | | \- net.minidev:accessors-smart:jar:1.2:test
[INFO] | | \- org.ow2.asm:asm:jar:5.0.4:test
[INFO] | +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:test
[INFO] | | \- jakarta.activation:jakarta.activation-api:jar:1.2.2:test
[INFO] | +- org.assertj:assertj-core:jar:3.16.1:test
[INFO] | +- org.hamcrest:hamcrest:jar:2.2:test
[INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.6.2:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.6.2:test
[INFO] | | \- org.junit.jupiter:junit-jupiter-engine:jar:5.6.2:test
[INFO] | +- org.junit.vintage:junit-vintage-engine:jar:5.6.2:test
[INFO] | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] | | +- org.junit.platform:junit-platform-engine:jar:1.6.2:test
[INFO] | | \- junit:junit:jar:4.13:test
[INFO] | +- org.mockito:mockito-core:jar:3.3.3:test
[INFO] | | +- net.bytebuddy:byte-buddy-agent:jar:1.10.5:test
[INFO] | | \- org.objenesis:objenesis:jar:2.6:test
[INFO] | +- org.mockito:mockito-junit-jupiter:jar:3.3.3: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.springframework:spring-test:jar:5.2.6.RELEASE:test
[INFO] | \- org.xmlunit:xmlunit-core:jar:2.7.0:test
[INFO] +- org.projectlombok:lombok:jar:1.16.22:provided
[INFO] +- com.h2database:h2:jar:1.4.200:test
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.11.0:compile
[INFO] +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.11.0:runtime
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.11.0:compile
[INFO] +- org.springframework:spring-tx:jar:5.2.6.RELEASE:compile
[INFO] | \- org.springframework:spring-beans:jar:5.2.6.RELEASE:compile
[INFO] +- org.springframework.boot:spring-boot-starter-data-jdbc:jar:2.3.0.RELEASE:runtime
[INFO] | +- org.springframework.boot:spring-boot-starter-jdbc:jar:2.3.0.RELEASE:compile
[INFO] | | +- com.zaxxer:HikariCP:jar:3.4.5:compile
[INFO] | | \- org.springframework:spring-jdbc:jar:5.2.6.RELEASE:compile
[INFO] | \- org.springframework.data:spring-data-jdbc:jar:2.0.0.RELEASE:runtime
[INFO] | +- org.springframework.data:spring-data-relational:jar:2.0.0.RELEASE:runtime
[INFO] | \- org.springframework.data:spring-data-commons:jar:2.3.0.RELEASE:compile
[INFO] +- org.postgresql:postgresql:jar:42.2.14:runtime
[INFO] +- javax.xml.bind:jaxb-api:jar:2.2.6:runtime
[INFO] +- org.slf4j:slf4j-api:jar:1.7.30:compile
[INFO] +- net.bytebuddy:byte-buddy:jar:1.10.9:runtime
[INFO] +- com.github.everit-org.json-schema:org.everit.json.schema:jar:1.12.1:compile
[INFO] | +- commons-validator:commons-validator:jar:1.6:compile
[INFO] | | +- commons-digester:commons-digester:jar:1.8.1:compile
[INFO] | | +- commons-logging:commons-logging:jar:1.2:compile
[INFO] | | \- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] | +- com.damnhandy:handy-uri-templates:jar:2.1.8:compile
[INFO] | | \- joda-time:joda-time:jar:2.10.2:compile
[INFO] | \- com.google.re2j:re2j:jar:1.3:compile
[INFO] +- com.bmc.truesight.saas:tspod-library:jar:1.0.00-SNAPSHOT:compile
[INFO] +- com.bmc.ade.core:service-pre-deployment-library:jar:1.0.00-SNAPSHOT:runtime
[INFO] | +- com.bmc.truesight.saas.thirdparty:jackson-databind:jar:2.10.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:jopt-simple:jar:5.0.3:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:zkclient:jar:0.10:compile
[INFO] | +- com.yammer.metrics:metrics-core:jar:2.2.0:compile
[INFO] | +- org.apache.zookeeper:zookeeper-jute:jar:3.5.6:compile
[INFO] | | \- org.apache.yetus:audience-annotations:jar:0.5.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:jackson-dataformat-yaml:jar:2.10.0:compile
[INFO] | +- org.scala-lang:scala-library:jar:2.12.10:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:curator-recipes:jar:2.9.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:curator-framework:jar:2.9.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:curator-client:jar:2.9.0:compile
[INFO] | +- org.apache.kafka:kafka_2.12:jar:2.4.1:compile
[INFO] | | +- com.fasterxml.jackson.module:jackson-module-scala_2.12:jar:2.10.0:compile
[INFO] | | | \- com.fasterxml.jackson.module:jackson-module-paranamer:jar:2.10.0:compile
[INFO] | | | \- com.thoughtworks.paranamer:paranamer:jar:2.8:compile
[INFO] | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-csv:jar:2.10.0:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.10.0:compile
[INFO] | | +- net.sf.jopt-simple:jopt-simple:jar:5.0.4:compile
[INFO] | | +- org.scala-lang.modules:scala-collection-compat_2.12:jar:2.1.2:compile
[INFO] | | +- org.scala-lang.modules:scala-java8-compat_2.12:jar:0.9.0:compile
[INFO] | | +- com.typesafe.scala-logging:scala-logging_2.12:jar:3.9.2:compile
[INFO] | | \- commons-cli:commons-cli:jar:1.4:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:zookeeper:jar:3.5.6:compile
[INFO] | +- org.apache.kafka:kafka-streams:jar:2.4.1:runtime
[INFO] | | +- org.apache.kafka:connect-json:jar:2.4.1:runtime
[INFO] | | | \- org.apache.kafka:connect-api:jar:2.4.1:runtime
[INFO] | | \- org.rocksdb:rocksdbjni:jar:5.18.3:runtime
[INFO] | +- com.bmc.truesight.saas.thirdparty:metrics-core:jar:3.2.4:runtime
[INFO] | +- org.scala-lang:scala-reflect:jar:2.12.10:compile
[INFO] | \- com.bmc.truesight.saas.thirdparty:scala-logging_2.12:jar:3.9.0:runtime
[INFO] +- com.bmc.truesight.saas:tspod-library-implv2:jar:1.0.00-SNAPSHOT:compile
[INFO] | +- org.apache.commons:commons-lang3:jar:3.4:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:slf4j-api:jar:1.7.25:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:logback-classic:jar:1.2.3:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:logback-core:jar:1.2.3:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:netty-codec-http2:jar:4.1.46.Final:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:netty-common:jar:4.1.46.Final:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:netty-buffer:jar:4.1.46.Final:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:netty-codec:jar:4.1.46.Final:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:netty-codec-http:jar:4.1.46.Final:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:netty-codec-socks:jar:4.1.46.Final:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:netty-handler:jar:4.1.46.Final:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:netty-handler-proxy:jar:4.1.46.Final:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:netty-resolver:jar:4.1.46.Final:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:netty-transport:jar:4.1.46.Final:compile
[INFO] | +- org.apache.zookeeper:zookeeper:jar:3.5.6:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:netty-transport-native-epoll:jar:4.1.46.Final:compile
[INFO] | | \- io.netty:netty-transport-native-unix-common:jar:4.1.46.Final:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:netty-transport-native-unix-common:jar:4.1.46.Final:compile
[INFO] | +- org.apache.logging.log4j:log4j-1.2-api:jar:2.13.0:compile
[INFO] | | \- org.apache.logging.log4j:log4j-api:jar:2.13.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:curator-x-discovery:jar:2.9.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:grpc-core:jar:1.6.1:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:jackson-mapper-asl:jar:1.9.13.redhat-2:compile
[INFO] | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:jackson-core:jar:2.10.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:jackson-annotations:jar:2.10.0:compile
[INFO] | +- com.bmc.truesight.saas:tspod-commu-service-grpc-library:jar:1.0.00-SNAPSHOT:compile
[INFO] | \- com.bmc.truesight.saas:pre-deployment-library:jar:1.0.00-SNAPSHOT:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:cassandra-driver-core:jar:3.8.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:guava:jar:19.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:elasticsearch:jar:7.7.0:compile
[INFO] | | +- org.elasticsearch:elasticsearch-core:jar:7.7.0:compile
[INFO] | | +- org.elasticsearch:elasticsearch-secure-sm:jar:7.7.0:compile
[INFO] | | +- org.elasticsearch:elasticsearch-x-content:jar:7.7.0:compile
[INFO] | | +- org.elasticsearch:elasticsearch-geo:jar:7.7.0:compile
[INFO] | | +- org.apache.lucene:lucene-core:jar:8.5.1:compile
[INFO] | | +- org.apache.lucene:lucene-analyzers-common:jar:8.5.1:compile
[INFO] | | +- org.apache.lucene:lucene-backward-codecs:jar:8.5.1:compile
[INFO] | | +- org.apache.lucene:lucene-grouping:jar:8.5.1:compile
[INFO] | | +- org.apache.lucene:lucene-highlighter:jar:8.5.1:compile
[INFO] | | +- org.apache.lucene:lucene-join:jar:8.5.1:compile
[INFO] | | +- org.apache.lucene:lucene-memory:jar:8.5.1:compile
[INFO] | | +- org.apache.lucene:lucene-misc:jar:8.5.1:compile
[INFO] | | +- org.apache.lucene:lucene-queries:jar:8.5.1:compile
[INFO] | | +- org.apache.lucene:lucene-queryparser:jar:8.5.1:compile
[INFO] | | +- org.apache.lucene:lucene-sandbox:jar:8.5.1:compile
[INFO] | | +- org.apache.lucene:lucene-spatial-extras:jar:8.5.1:compile
[INFO] | | +- org.apache.lucene:lucene-spatial3d:jar:8.5.1:compile
[INFO] | | +- org.apache.lucene:lucene-suggest:jar:8.5.1:compile
[INFO] | | +- org.elasticsearch:elasticsearch-cli:jar:7.7.0:compile
[INFO] | | +- com.carrotsearch:hppc:jar:0.8.1:compile
[INFO] | | +- com.tdunning:t-digest:jar:3.2:compile
[INFO] | | \- org.elasticsearch:jna:jar:4.5.1:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:elasticsearch-core:jar:7.7.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:elasticsearch-x-content:jar:7.7.0:compile
[INFO] | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.10.4:compile
[INFO] | | \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.10.4:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:transport:jar:7.7.0:compile
[INFO] | | +- org.elasticsearch:elasticsearch:jar:7.7.0:compile
[INFO] | | +- org.elasticsearch.plugin:transport-netty4-client:jar:7.7.0:compile
[INFO] | | +- org.elasticsearch.plugin:reindex-client:jar:7.7.0:compile
[INFO] | | +- org.elasticsearch.plugin:lang-mustache-client:jar:7.7.0:compile
[INFO] | | +- org.elasticsearch.plugin:percolator-client:jar:7.7.0:compile
[INFO] | | +- org.elasticsearch.plugin:parent-join-client:jar:7.7.0:compile
[INFO] | | \- org.elasticsearch.plugin:rank-eval-client:jar:7.7.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:transport-netty4-client:jar:7.7.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:reindex-client:jar:7.7.0:compile
[INFO] | | \- org.elasticsearch:elasticsearch-ssl-config:jar:7.7.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:parent-join-client:jar:7.7.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lang-mustache-client:jar:7.7.0:compile
[INFO] | | \- com.github.spullara.mustache.java:compiler:jar:0.9.6:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:percolator-client:jar:7.7.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:elasticsearch-rest-high-level-client:jar:7.7.0:compile
[INFO] | | +- org.elasticsearch.plugin:mapper-extras-client:jar:7.7.0:compile
[INFO] | | \- org.elasticsearch.plugin:aggs-matrix-stats-client:jar:7.7.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:rank-eval-client:jar:7.7.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-core:jar:8.5.2:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-analyzers-common:jar:8.5.2:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-backward-codecs:jar:8.5.2:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-grouping:jar:8.5.2:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-highlighter:jar:8.5.2:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-join:jar:8.5.2:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-memory:jar:8.5.2:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-misc:jar:8.5.2:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-queries:jar:8.5.2:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-queryparser:jar:8.5.2:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-sandbox:jar:8.5.2:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-spatial:jar:8.4.1:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-spatial-extras:jar:8.5.2:compile
[INFO] | | +- io.sgr:s2-geometry-library-java:jar:1.0.0:compile
[INFO] | | \- org.locationtech.spatial4j:spatial4j:jar:0.7:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:lucene-suggest:jar:8.5.2:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:httpclient:jar:4.5.7:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:httpcore:jar:4.4.11:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:httpcore-nio:jar:4.4.11:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:httpasyncclient:jar:4.1.4:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:commons-codec:jar:1.11:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:commons-logging:jar:1.1.3:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:netty-all:jar:4.1.46.Final:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:compiler:jar:0.9.3:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:jcl-over-slf4j:jar:1.7.25:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:log4j-core:jar:2.12.1:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:log4j-api:jar:2.12.1:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:jackson-dataformat-cbor:jar:2.10.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:scala-parser-combinators_2.12:jar:1.1.1:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:scala-library:jar:2.12.6:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:cassandra-driver-mapping:jar:3.8.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:joda-time:jar:2.10.2:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:elasticsearch-cli:jar:7.7.0:compile
[INFO] | +- com.bmc.truesight.saas.thirdparty:t-digest:jar:3.2:compile
[INFO] | \- com.bmc.truesight.saas.thirdparty:hppc:jar:0.8.1:compile
[INFO] +- commons-io:commons-io:jar:2.7:compile
[INFO] +- com.bmc.truesight.saas:env-provider-library:jar:1.0.00-SNAPSHOT:compile
[INFO] +- com.bmc.truesight.saas:env-provider-library-impl:jar:1.0.00-SNAPSHOT:compile
[INFO] +- org.json:json:jar:20200518:compile
[INFO] +- io.kubernetes:client-java:jar:8.0.0:compile
[INFO] | +- io.kubernetes:client-java-api:jar:8.0.0:compile
[INFO] | | +- io.sundr:builder-annotations:jar:0.21.0:compile
[INFO] | | | +- io.sundr:sundr-core:jar:0.21.0:compile
[INFO] | | | +- io.sundr:sundr-codegen:jar:0.21.0:compile
[INFO] | | | \- io.sundr:resourcecify-annotations:jar:0.21.0:compile
[INFO] | | +- io.swagger:swagger-annotations:jar:1.5.22:compile
[INFO] | | +- com.squareup.okhttp3:okhttp:jar:3.14.3:compile
[INFO] | | | \- com.squareup.okio:okio:jar:1.17.2:compile
[INFO] | | +- com.squareup.okhttp3:logging-interceptor:jar:3.14.3:compile
[INFO] | | +- io.gsonfire:gson-fire:jar:1.8.3:compile
[INFO] | | \- org.joda:joda-convert:jar:1.2:compile
[INFO] | +- io.kubernetes:client-java-proto:jar:8.0.0:compile
[INFO] | +- commons-codec:commons-codec:jar:1.11:compile
[INFO] | +- org.apache.commons:commons-compress:jar:1.19:compile
[INFO] | +- org.apache.commons:commons-collections4:jar:4.1:compile
[INFO] | \- org.bitbucket.b_c:jose4j:jar:0.7.0:compile
[INFO] +- org.bouncycastle:bcprov-jdk15on:jar:1.66:test
[INFO] +- org.springframework.boot:spring-boot-starter-data-jpa:jar:2.3.0.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-aop:jar:2.3.0.RELEASE:compile
[INFO] | | \- org.aspectj:aspectjweaver:jar:1.9.5:compile
[INFO] | +- jakarta.transaction:jakarta.transaction-api:jar:1.3.3:compile
[INFO] | +- jakarta.persistence:jakarta.persistence-api:jar:2.2.3:compile
[INFO] | +- org.hibernate:hibernate-core:jar:5.4.15.Final:compile
[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
[INFO] | | +- org.javassist:javassist:jar:3.24.0-GA:compile
[INFO] | | +- antlr:antlr:jar:2.7.7:compile
[INFO] | | +- org.jboss:jandex:jar:2.1.3.Final:compile
[INFO] | | +- com.fasterxml:classmate:jar:1.5.1:compile
[INFO] | | +- org.dom4j:dom4j:jar:2.1.3:compile
[INFO] | | +- org.hibernate.common:hibernate-commons-annotations:jar:5.1.0.Final:compile
[INFO] | | \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.1:compile
[INFO] | | +- org.glassfish.jaxb:txw2:jar:2.3.1:compile
[INFO] | | +- com.sun.istack:istack-commons-runtime:jar:3.0.7:compile
[INFO] | | +- org.jvnet.staxex:stax-ex:jar:1.8:compile
[INFO] | | \- com.sun.xml.fastinfoset:FastInfoset:jar:1.2.15:compile
[INFO] | +- org.springframework.data:spring-data-jpa:jar:2.3.0.RELEASE:compile
[INFO] | | \- org.springframework:spring-orm:jar:5.2.6.RELEASE:compile
[INFO] | \- org.springframework:spring-aspects:jar:5.2.6.RELEASE:compile
[INFO] +- org.apache.kafka:kafka-clients:jar:2.5.0:compile
[INFO] | +- com.github.luben:zstd-jni:jar:1.4.4-7:compile
[INFO] | +- org.lz4:lz4-java:jar:1.7.1:compile
[INFO] | \- org.xerial.snappy:snappy-java:jar:1.1.7.3:compile
[INFO] +- **org.springframework.kafka:spring-kafka-test:jar:2.5.1.RELEASE:test**
[INFO] | +- org.springframework:spring-context:jar:5.2.6.RELEASE:compile
[INFO] | | \- org.springframework:spring-expression:jar:5.2.6.RELEASE:compile
[INFO] | +- org.springframework.retry:spring-retry:jar:1.2.5.RELEASE:compile
[INFO] | +- **org.apache.kafka:kafka-clients:jar:test:2.5.0:test**
[INFO] | +- org.apache.kafka:kafka-streams-test-utils:jar:2.5.0:test
[INFO] | +- org.apache.kafka:kafka_2.12:jar:test:2.5.0:test
[INFO] | \- org.junit.jupiter:junit-jupiter-api:jar:5.6.2:test
[INFO] | +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] | \- org.junit.platform:junit-platform-commons:jar:1.6.2:test
[INFO] +- **org.springframework.kafka:spring-kafka:jar:2.5.1.RELEASE:compile**
[INFO] | \- org.springframework:spring-messaging:jar:5.2.6.RELEASE:compile
[INFO] +- com.google.code.gson:gson:jar:2.8.6:compile
[INFO] +- org.flywaydb:flyway-core:jar:6.5.0:compile
[INFO] +- com.bmc.ade:ims-java-sdk:jar:0.0.7:compile
[INFO] | +- org.slf4j:slf4j-log4j12:jar:1.7.21:compile
[INFO] | | \- log4j:log4j:jar:1.2.17:compile
[INFO] | +- com.auth0:java-jwt:jar:3.3.0:compile
[INFO] | \- org.apache.httpcomponents:httpclient:jar:4.5.5:compile
[INFO] | \- org.apache.httpcomponents:httpcore:jar:4.4.9:compile
[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:2.3.0.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.3.0.RELEASE:compile
[INFO] | | \- org.springframework.boot:spring-boot-actuator:jar:2.3.0.RELEASE:compile
[INFO] | \- io.micrometer:micrometer-core:jar:1.5.1:compile
[INFO] | +- org.hdrhistogram:HdrHistogram:jar:2.1.12:compile
[INFO] | \- org.latencyutils:LatencyUtils:jar:2.0.3:runtime
[INFO] \- io.micrometer:micrometer-registry-prometheus:jar:1.5.3:compile
[INFO] \- io.prometheus:simpleclient_common:jar:0.8.1:compile
[INFO] \- io.prometheus:simpleclient:jar:0.8.1:compile
Spring Boot 2.3 (currently 2.3.6) requires spring-kafka 2.5 (currently 2.5.8).
Generally, you should not specify versions for Boot dependencies; boot will properly bring in its compatible versions.
To add to Gary's comment, if you still want to managed the dependencies yourself, you can consult the compatibility matrix found here: https://spring.io/projects/spring-kafka
spring-kafka 2.5.X + Kafka Client 2.5.0 + Spring Boot 2.3.X
In your case, where I assume spring-boot is leading, you will need to upgrade kafka-client + spring-kafka.
I have searched for a solution on the Internet before posting, I found nothing that helps my case.
I have a Tomcat (9.0.5) instance that contains two webapps, let's call them webapp foo and webapp bar. These webapps are compiled using Maven 3.5.3.
foo includes a Maven dependency: org.apache.wss4j:wss4j-ws-security-stax:jar:2.2.4. This Java library is also included in foo's WEB-INF/lib directory, packed inside its own .war file (Maven build process seems to work fine). foo uses CXF 3.3.5 and WSS4J 2.2.4.
Webapp bar does not include org.apache.wss4j:wss4j-ws-security-stax:jar:2.2.4, instead.
I must deploy these two webapps under the same Tomcat instance, so I upload them under ${catalina.base}/webapps and then I run Tomcat.
If Tomcat deploys foo webapp first, nothing goes wrong.
If Tomcat deploys bar webapp first, I got the following error instead:
Could not load or register WS-SecurityPolicy related classes. Please check that (the correct version of) Apache WSS4J is on the classpath: Could not initialize class org.apache.wss4j.stax.setup.WSSec
I am going crazy on this. Based on other topics I found way to enforce Tomcat deployment order, but honestly I do not like that solution. In my opinion, that is a wrong approach.
I do not have set customization on Tomcat classpath, I do not understand why this happens. You can fine below the results of mvn dependency:tree of foo and bar.
BAR:
[INFO] -------------------< bar >--------------------
[INFO] Building bar
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.3:tree (default-cli) # bar-web ---
[INFO] bar.modules:bar-web:war:5.0.1-SNAPSHOT
[INFO] +- bar.modules:bar-core:jar:5.0.1-SNAPSHOT:compile
[INFO] | +- bar.modules:bar-jpa:jar:5.0.1-SNAPSHOT:compile
[INFO] | | +- org.hibernate:hibernate-entitymanager:jar:4.3.5.Final:compile
[INFO] | | | +- org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile
[INFO] | | | +- org.hibernate:hibernate-core:jar:4.3.5.Final:compile
[INFO] | | | | +- antlr:antlr:jar:2.7.7:compile
[INFO] | | | | \- org.jboss:jandex:jar:1.1.0.Final:compile
[INFO] | | | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | | | +- org.hibernate.common:hibernate-commons-annotations:jar:4.0.4.Final:compile
[INFO] | | | +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
[INFO] | | | \- org.javassist:javassist:jar:3.18.1-GA:compile
[INFO] | | \- org.springframework.data:spring-data-jpa:jar:1.6.0.RELEASE:compile
[INFO] | | +- org.springframework.data:spring-data-commons:jar:1.8.0.RELEASE:compile
[INFO] | | +- org.springframework:spring-orm:jar:3.2.9.RELEASE:compile
[INFO] | | \- org.slf4j:jcl-over-slf4j:jar:1.7.7:runtime
[INFO] | +- bar.modules:firmaremota-rest-core:jar:1.3.0:compile
[INFO] | +- org.springframework:spring-aop:jar:3.2.9.RELEASE:compile
[INFO] | +- org.springframework:spring-context-support:jar:3.2.9.RELEASE:compile
[INFO] | +- org.apache.commons:commons-collections4:jar:4.0:compile
[INFO] | +- org.apache.commons:commons-lang3:jar:3.3.2:compile
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.3:compile
[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.4.6:compile
[INFO] | +- org.apache.httpcomponents:httpmime:jar:4.5.3:compile
[INFO] | +- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] | +- org.aspectj:aspectjrt:jar:1.7.0:compile
[INFO] | +- org.aspectj:aspectjweaver:jar:1.7.0:compile
[INFO] | +- org.hibernate:hibernate-validator:jar:4.3.1.Final:compile
[INFO] | | \- org.jboss.logging:jboss-logging:jar:3.1.0.CR2:compile
[INFO] | +- com.helger:peppol-smp-client:jar:5.2.7:compile
[INFO] | | +- com.helger:peppol-commons:jar:5.2.7:compile
[INFO] | | | +- com.helger:ph-security:jar:8.6.6:compile
[INFO] | | | +- com.helger:ph-xml:jar:8.6.6:compile
[INFO] | | | +- com.helger:ph-json:jar:8.6.6:compile
[INFO] | | | +- com.helger:ph-xsds-xmldsig:jar:1.0.1:compile
[INFO] | | | \- dnsjava:dnsjava:jar:2.1.8:compile
[INFO] | | +- com.helger:ph-httpclient:jar:8.8.2:compile
[INFO] | | | \- com.helger:ph-http:jar:8.8.2:compile
[INFO] | | | \- com.helger:ph-network:jar:8.8.2:compile
[INFO] | | \- com.helger:ph-settings:jar:8.6.6:compile
[INFO] | +- com.helger:peppol-directory-businesscard:jar:0.5.1:compile
[INFO] | | +- com.helger:ph-commons:jar:8.6.6:compile
[INFO] | | | \- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] | | +- com.helger:ph-jaxb:jar:8.6.6:compile
[INFO] | | +- com.helger:ph-datetime:jar:8.6.6:compile
[INFO] | | \- org.slf4j:jul-to-slf4j:jar:1.7.25:compile
[INFO] | +- commons-codec:commons-codec:jar:1.8:compile
[INFO] | +- org.bouncycastle:bcprov-jdk15on:jar:1.60:compile
[INFO] | +- org.codehaus.groovy:groovy:jar:2.4.10:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.8.7:compile
[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.8.0:compile
[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.8.7:compile
[INFO] | +- org.glassfish.metro:webservices-rt:jar:2.3:compile
[INFO] | | \- org.glassfish.metro:webservices-api:jar:2.3:compile
[INFO] | | \- javax.annotation:javax.annotation-api:jar:1.2-b03:runtime
[INFO] | +- no.difi.oxalis:oxalis-document-sniffer:jar:4.1.1:compile
[INFO] | +- no.difi.vefa:peppol-icd:jar:1.1.3:compile
[INFO] | | \- no.difi.vefa:peppol-common:jar:1.1.3:compile
[INFO] | +- no.difi.vefa:peppol-sbdh:jar:1.1.3:compile
[INFO] | | +- no.difi.commons:commons-sbdh:jar:0.9.5:compile
[INFO] | | \- com.google.guava:guava:jar:28.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:2.8.1:compile
[INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.3.2:compile
[INFO] | | +- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[INFO] | | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.18:compile
[INFO] | +- com.oracle:ojdbc16:jar:11.2.0.3.0:compile
[INFO] | +- javax.mail:javax.mail-api:jar:1.6.0:compile
[INFO] | +- com.sun.mail:javax.mail:jar:1.5.1:compile
[INFO] | | \- javax.activation:activation:jar:1.1:compile
[INFO] | +- org.springframework:spring-aspects:jar:3.2.9.RELEASE:compile
[INFO] | +- net.sourceforge.saxon:saxon:jar:9.1.0.8:compile
[INFO] | +- net.sourceforge.saxon:saxon:jar:dom:9.1.0.8:compile
[INFO] | +- org.bouncycastle:bcmail-jdk15on:jar:1.60:compile
[INFO] | | \- org.bouncycastle:bcpkix-jdk15on:jar:1.60:compile
[INFO] | \- org.passay:passay:jar:1.5.0:compile
[INFO] +- bar.modules:bar-entity:jar:5.0.1-SNAPSHOT:compile
[INFO] | +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[INFO] | +- javax.validation:validation-api:jar:1.1.0.Final:compile
[INFO] | \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
[INFO] | \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[INFO] +- bar.modules:bar-job:jar:5.0.1-SNAPSHOT:compile
[INFO] | \- org.quartz-scheduler:quartz:jar:2.2.1:compile
[INFO] | \- c3p0:c3p0:jar:0.9.1.1:compile
[INFO] +- bar.modules:oxalis-bar-integration:jar:1.0.0:compile
[INFO] +- org.springframework:spring-oxm:jar:3.2.9.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:3.2.9.RELEASE:compile
[INFO] | \- org.springframework:spring-core:jar:3.2.9.RELEASE:compile
[INFO] +- org.springframework:spring-test:jar:3.2.9.RELEASE:test
[INFO] +- org.springframework.security:spring-security-core:jar:3.2.7.RELEASE:compile
[INFO] | +- aopalliance:aopalliance:jar:1.0:compile
[INFO] | \- org.springframework:spring-expression:jar:3.2.13.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-web:jar:3.2.7.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-taglibs:jar:3.2.7.RELEASE:compile
[INFO] | \- org.springframework.security:spring-security-acl:jar:3.2.7.RELEASE:compile
[INFO] | +- org.springframework:spring-jdbc:jar:3.2.13.RELEASE:compile
[INFO] | \- org.springframework:spring-tx:jar:3.2.13.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-config:jar:3.2.7.RELEASE:compile
[INFO] +- org.springframework:spring-context:jar:3.2.9.RELEASE:compile
[INFO] +- org.springframework:spring-webmvc:jar:3.2.9.RELEASE:compile
[INFO] +- org.springframework:spring-web:jar:3.2.9.RELEASE:compile
[INFO] +- org.jvnet.jax-ws-commons.spring:jaxws-spring:jar:1.9:compile
[INFO] | \- org.apache.xbean:xbean-spring:jar:3.14:compile
[INFO] +- com.google.code.gson:gson:jar:2.2.2:compile
[INFO] +- joda-time:joda-time:jar:2.3:compile
[INFO] +- javax:javaee-web-api:jar:6.0:provided
[INFO] +- javax.servlet:jstl:jar:1.2:compile
[INFO] +- commons-fileupload:commons-fileupload:jar:1.3.1:compile
[INFO] +- commons-io:commons-io:jar:2.4:compile
[INFO] +- org.apache.poi:poi:jar:3.16:compile
[INFO] +- org.apache.pdfbox:pdfbox:jar:2.0.0:compile
[INFO] | +- org.apache.pdfbox:fontbox:jar:2.0.0:compile
[INFO] | \- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- ch.qos.logback:logback-classic:jar:1.1.2:compile
[INFO] | +- ch.qos.logback:logback-core:jar:1.1.2:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.7.6:compile
[INFO] +- org.webjars:bootstrap:jar:3.3.7-1:compile
[INFO] | \- org.webjars:jquery:jar:1.11.1:compile
[INFO] +- org.webjars:jquery-ui:jar:1.12.1:compile
[INFO] +- org.webjars:jquery-ui-themes:jar:1.12.1:compile
[INFO] +- org.webjars:datatables:jar:1.10.13:compile
[INFO] +- org.webjars:html5shiv:jar:3.7.2:compile
[INFO] +- org.webjars:respond:jar:1.4.2:compile
[INFO] +- org.webjars:font-awesome:jar:4.6.3:compile
[INFO] +- org.webjars.bower:tinymce:jar:4.4.3:compile
[INFO] +- org.webjars.bower:moment:jar:2.18.1:compile
[INFO] +- xerces:xercesImpl:jar:2.12.0:compile
[INFO] | \- xml-apis:xml-apis:jar:1.4.01:compile
[INFO] +- org.mockito:mockito-core:jar:1.9.5:test
[INFO] | +- org.hamcrest:hamcrest-core:jar:1.1:test
[INFO] | \- org.objenesis:objenesis:jar:1.0:test
[INFO] \- junit:junit:jar:4.11:test
FOO:
[INFO] -------------------< foo >--------------------
[INFO] Building foo
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) # bar-war ---
[INFO] foo.modules:bar-war:war:1.0.0
[INFO] +- foo.modules:bar-notier-core:jar:1.0.0:compile
[INFO] | +- javax.servlet:servlet-api:jar:2.5:compile
[INFO] | +- com.sun.jersey:jersey-server:jar:1.17.1:compile
[INFO] | | \- com.sun.jersey:jersey-core:jar:1.17.1:compile
[INFO] | +- com.sun.jersey.contribs:jersey-guice:jar:1.11:compile
[INFO] | | +- javax.inject:javax.inject:jar:1:compile
[INFO] | | \- com.sun.jersey:jersey-servlet:jar:1.11:compile
[INFO] | +- foo.modules:bar-notier-integration:jar:1.0.0:compile
[INFO] | +- org.apache.commons:commons-dbcp2:jar:2.2.0:compile
[INFO] | | \- org.apache.commons:commons-pool2:jar:2.5.0:compile
[INFO] | +- no.difi.oxalis:bar-outbound:jar:4.1.1:compile
[INFO] | | +- no.difi.oxalis:bar-document-sniffer:jar:4.1.1:compile
[INFO] | | | \- no.difi.vefa:peppol-icd:jar:1.1.3:compile
[INFO] | | +- no.difi.vefa:peppol-lookup:jar:1.1.3:compile
[INFO] | | | +- no.difi.commons:commons-busdox:jar:0.9.5:compile
[INFO] | | | +- no.difi.commons:commons-bdx:jar:0.9.5:compile
[INFO] | | | \- dnsjava:dnsjava:jar:2.1.9:compile
[INFO] | | \- no.difi.vefa:peppol-security:jar:1.1.3:compile
[INFO] | | \- no.difi.commons:commons-certvalidator:jar:2.2.0:compile
[INFO] | | \- net.klakegg.pkix:pkix-ocsp:jar:0.9.0:compile
[INFO] | +- no.difi.oxalis:bar-commons:jar:4.1.1:compile
[INFO] | +- com.google.inject.extensions:guice-servlet:jar:4.2.2:compile
[INFO] | +- commons-io:commons-io:jar:1.3.2:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.26:compile
[INFO] | +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO] | | \- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] | \- javax.transaction:jta:jar:1.1:compile
[INFO] +- foo.modules:bar-rest:jar:1.0.0:compile
[INFO] | \- org.apache.httpcomponents:httpclient:jar:4.5.6:compile
[INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.10:compile
[INFO] | \- commons-codec:commons-codec:jar:1.11:compile
[INFO] +- javax.servlet:javax.servlet-api:jar:4.0.1:provided
[INFO] +- no.difi.oxalis:bar-as4:jar:4.1.9:compile
[INFO] | +- org.apache.cxf:cxf-core:jar:3.3.5:compile
[INFO] | | +- org.glassfish.jaxb:jaxb-runtime:jar:2.3.2:compile
[INFO] | | | +- org.glassfish.jaxb:txw2:jar:2.3.2:compile
[INFO] | | | +- com.sun.istack:istack-commons-runtime:jar:3.0.8:compile
[INFO] | | | +- org.jvnet.staxex:stax-ex:jar:1.8.1:compile
[INFO] | | | \- com.sun.xml.fastinfoset:FastInfoset:jar:1.2.16:compile
[INFO] | | +- com.fasterxml.woodstox:woodstox-core:jar:5.0.3:compile
[INFO] | | | \- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
[INFO] | | \- org.apache.ws.xmlschema:xmlschema-core:jar:2.2.5:compile
[INFO] | +- org.apache.cxf:cxf-rt-security:jar:3.3.5:compile
[INFO] | +- org.apache.cxf:cxf-rt-bindings-soap:jar:3.3.5:compile
[INFO] | +- org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.3.5:compile
[INFO] | +- org.apache.cxf:cxf-rt-wsdl:jar:3.3.5:compile
[INFO] | | +- wsdl4j:wsdl4j:jar:1.6.3:compile
[INFO] | | \- org.ow2.asm:asm:jar:7.1:compile
[INFO] | +- org.apache.cxf:cxf-rt-features-logging:jar:3.3.5:compile
[INFO] | +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.3.5:compile
[INFO] | | +- xml-resolver:xml-resolver:jar:1.2:compile
[INFO] | | +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.3.5:compile
[INFO] | | +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.3.5:compile
[INFO] | | \- org.apache.cxf:cxf-rt-ws-addr:jar:3.3.5:compile
[INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:3.3.5:compile
[INFO] | +- org.apache.cxf:cxf-rt-ws-policy:jar:3.3.5:compile
[INFO] | +- org.apache.cxf:cxf-rt-ws-security:jar:3.3.5:compile
[INFO] | | +- org.apache.cxf:cxf-rt-security-saml:jar:3.3.5:compile
[INFO] | | +- net.sf.ehcache:ehcache:jar:2.10.6:compile
[INFO] | | +- org.apache.wss4j:wss4j-ws-security-stax:jar:2.2.4:compile
[INFO] | | | \- org.apache.wss4j:wss4j-bindings:jar:2.2.4:compile
[INFO] | | \- org.apache.wss4j:wss4j-ws-security-policy-stax:jar:2.2.4:compile
[INFO] | +- org.apache.wss4j:wss4j-ws-security-common:jar:2.2.4:compile
[INFO] | | +- org.apache.santuario:xmlsec:jar:2.1.4:compile
[INFO] | | +- org.opensaml:opensaml-saml-impl:jar:3.3.0:compile
[INFO] | | | +- org.opensaml:opensaml-profile-api:jar:3.3.0:compile
[INFO] | | | | \- org.opensaml:opensaml-core:jar:3.3.0:compile
[INFO] | | | | \- io.dropwizard.metrics:metrics-core:jar:3.1.2:compile
[INFO] | | | +- org.opensaml:opensaml-saml-api:jar:3.3.0:compile
[INFO] | | | | +- org.opensaml:opensaml-xmlsec-api:jar:3.3.0:compile
[INFO] | | | | \- org.opensaml:opensaml-soap-api:jar:3.3.0:compile
[INFO] | | | +- org.opensaml:opensaml-security-impl:jar:3.3.0:compile
[INFO] | | | | \- org.opensaml:opensaml-security-api:jar:3.3.0:compile
[INFO] | | | | \- org.cryptacular:cryptacular:jar:1.1.1:compile
[INFO] | | | +- org.opensaml:opensaml-xmlsec-impl:jar:3.3.0:compile
[INFO] | | | \- net.shibboleth.utilities:java-support:jar:7.3.0:compile
[INFO] | | +- org.opensaml:opensaml-xacml-impl:jar:3.3.0:compile
[INFO] | | | \- org.opensaml:opensaml-xacml-api:jar:3.3.0:compile
[INFO] | | +- org.opensaml:opensaml-xacml-saml-impl:jar:3.3.0:compile
[INFO] | | | \- org.opensaml:opensaml-xacml-saml-api:jar:3.3.0:compile
[INFO] | | \- org.jasypt:jasypt:jar:1.9.3:compile
[INFO] | +- org.apache.wss4j:wss4j-ws-security-dom:jar:2.2.4:compile
[INFO] | +- org.apache.wss4j:wss4j-policy:jar:2.2.4:compile
[INFO] | +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile
[INFO] | +- jakarta.activation:jakarta.activation-api:jar:1.2.1:compile
[INFO] | \- org.apache.neethi:neethi:jar:3.1.1:compile
[INFO] +- foo.modules:bar-notier-rest-server:jar:1.0.0:compile
[INFO] +- no.difi.oxalis:bar-inbound:jar:4.1.1:compile
[INFO] | +- com.google.guava:guava:jar:27.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] | | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] | | +- org.checkerframework:checker-qual:jar:2.5.2:compile
[INFO] | | +- com.google.errorprone:error_prone_annotations:jar:2.2.0:compile
[INFO] | | +- com.google.j2objc:j2objc-annotations:jar:1.1:compile
[INFO] | | \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.17:compile
[INFO] | +- joda-time:joda-time:jar:2.10.1:compile
[INFO] | +- no.difi.oxalis:bar-as2:jar:4.1.1:compile
[INFO] | | \- javax.mail:mail:jar:1.4.7:compile
[INFO] | +- org.bouncycastle:bcmail-jdk15on:jar:1.57:compile
[INFO] | | +- org.bouncycastle:bcprov-jdk15on:jar:1.57:compile
[INFO] | | \- org.bouncycastle:bcpkix-jdk15on:jar:1.57:compile
[INFO] | \- io.opentracing.contrib:opentracing-web-servlet-filter:jar:0.2.2:compile
[INFO] | +- io.opentracing:opentracing-api:jar:0.33.0:compile
[INFO] | \- io.opentracing:opentracing-util:jar:0.31.0:compile
[INFO] +- foo.modules:bar-quartz:jar:1.0.0:compile
[INFO] | \- org.quartz-scheduler:quartz:jar:2.2.1:compile
[INFO] | \- c3p0:c3p0:jar:0.9.1.1:compile
[INFO] +- foo.modules:bar-persist:jar:1.0.0:compile
[INFO] | +- javax.mail:javax.mail-api:jar:1.5.6:compile
[INFO] | +- org.quartz-scheduler:quartz-jobs:jar:2.2.1:compile
[INFO] | +- com.google.code.gson:gson:jar:2.2.2:compile
[INFO] | +- no.difi.oxalis:bar-api:jar:4.1.1:compile
[INFO] | | \- no.difi.vefa:peppol-common:jar:1.1.3:compile
[INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.7.26:compile
[INFO] | +- com.google.inject:guice:jar:4.2.2:compile
[INFO] | | \- aopalliance:aopalliance:jar:1.0:compile
[INFO] | +- no.difi.vefa:peppol-mode:jar:1.1.3:compile
[INFO] | | \- com.typesafe:config:jar:1.3.4:compile
[INFO] | +- no.difi.vefa:peppol-sbdh:jar:1.1.3:compile
[INFO] | | \- no.difi.commons:commons-sbdh:jar:0.9.5:compile
[INFO] | +- no.difi.vefa:peppol-evidence:jar:1.1.3:compile
[INFO] | +- io.zipkin.brave:brave:jar:5.6.5:compile
[INFO] | | +- io.zipkin.zipkin2:zipkin:jar:2.14.2:compile
[INFO] | | \- io.zipkin.reporter2:zipkin-reporter:jar:2.8.4:compile
[INFO] | +- io.zipkin.reporter2:zipkin-sender-urlconnection:jar:2.7.10:compile
[INFO] | +- io.opentracing:opentracing-noop:jar:0.33.0:compile
[INFO] | +- io.opentracing.contrib:opentracing-apache-httpclient:jar:0.1.0:compile
[INFO] | +- io.opentracing.contrib:opentracing-spanmanager:jar:0.0.5:compile
[INFO] | \- io.opentracing.brave:brave-opentracing:jar:0.33.7:compile
[INFO] +- org.projectlombok:lombok:jar:1.18.4:provided
[INFO] \- org.kohsuke.metainf-services:metainf-services:jar:1.8:provided
Any further help is truly appreciate. Thank you in advance.
EDIT:
Based on Konstantin Pribluda suggestion I added this in my ${catalina.base}/conf/context.xml:
<Loader delegate="true" />
After this, I got the following error:
Could not load or register WS-SecurityPolicy related classes. Please check that (the correct version of) Apache WSS4J is on the classpath: org/apache/xml/security/exceptions/XMLSecurityException
It seems to be the same error, but on another class.
Could be problem with delegation and classloader precedence. In java class resolves own dependencies from own classloader, and higher up in hierarchy. This can lead to classes from your application being ignored even if theyare included in war. Try to play around with delegate setting of classloader. Detailed explanation:
https://tomcat.apache.org/tomcat-9.0-doc/class-loader-howto.html
I have a SpringBoot2.2.5 That runs perfectly when running standalone. It is a REST app that serves both json and XML. Once we deploy it to one of our tomcat servers (Tomcat 8.5.38) it fails (see error below).
I searched all over to try and find the class in question but have no idea where it would be or what jar I am missing. Any help would be greatly appreciated.
16-Apr-2020 17:23:23.365 SEVERE [localhost-startStop-1]
org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/vservice]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: org/glassfish/jersey/internal/l10n/LocalizableMessageFactory$ResourceBundleSupplier
at org.glassfish.jersey.server.spring.SpringWebApplicationInitializer.onStartup(SpringWebApplicationInitializer.java:46)
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5272)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more
Caused by: java.lang.ClassNotFoundException: org.glassfish.jersey.internal.l10n.LocalizableMessageFactory$ResourceBundleSupplier
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
... 14 more
Here is the dependency tree for the app:
`
[INFO] +- commons-fileupload:commons-fileupload:jar:1.4:compile
[INFO] | \- commons-io:commons-io:jar:2.2:compile
[INFO] +- com.thoughtworks.xstream:xstream:jar:1.4.11-java7:compile
[INFO] | +- xmlpull:xmlpull:jar:1.1.3.1:compile
[INFO] | \- xpp3:xpp3_min:jar:1.1.4c:compile
[INFO] +- org.springframework.boot:spring-boot-starter-jersey:jar:2.2.5.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-json:jar:2.2.5.RELEASE:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.6.7:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.6.7:compile
[INFO] | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.6.7:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-validation:jar:2.2.5.RELEASE:compile
[INFO] | | +- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile
[INFO] | | \- org.hibernate.validator:hibernate-validator:jar:6.0.18.Final:compile
[INFO] | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] | +- jakarta.ws.rs:jakarta.ws.rs-api:jar:2.1.6:compile
[INFO] | +- org.springframework:spring-web:jar:5.2.4.RELEASE:compile
[INFO] | | \- org.springframework:spring-beans:jar:5.2.4.RELEASE:compile
[INFO] | +- org.glassfish.jersey.core:jersey-server:jar:2.6:compile
[INFO] | | +- org.glassfish.jersey.core:jersey-common:jar:2.6:compile
[INFO] | | | +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.6:compile
[INFO] | | | \- org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:compile
[INFO] | | +- org.glassfish.jersey.core:jersey-client:jar:2.6:compile
[INFO] | | +- javax.ws.rs:javax.ws.rs-api:jar:2.0:compile
[INFO] | | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] | | +- org.glassfish.hk2:hk2-api:jar:2.2.0:compile
[INFO] | | | +- org.glassfish.hk2:hk2-utils:jar:2.2.0:compile
[INFO] | | | \- org.glassfish.hk2.external:aopalliance-repackaged:jar:2.2.0:compile
[INFO] | | +- org.glassfish.hk2.external:javax.inject:jar:2.2.0:compile
[INFO] | | \- org.glassfish.hk2:hk2-locator:jar:2.2.0:compile
[INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.6:compile
[INFO] | +- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.6:compile
[INFO] | +- org.glassfish.jersey.ext:jersey-bean-validation:jar:2.6:compile
[INFO] | +- org.glassfish.jersey.ext:jersey-spring5:jar:2.29.1:compile
[INFO] | | +- org.glassfish.jersey.inject:jersey-hk2:jar:2.29.1:compile
[INFO] | | +- org.glassfish.hk2:hk2:jar:2.6.1:compile
[INFO] | | | +- org.glassfish.hk2:hk2-core:jar:2.6.1:compile
[INFO] | | | +- org.glassfish.hk2:hk2-runlevel:jar:2.6.1:compile
[INFO] | | | \- org.glassfish.hk2:class-model:jar:2.6.1:compile
[INFO] | | | +- org.ow2.asm:asm:jar:7.1:compile
[INFO] | | | +- org.ow2.asm:asm-analysis:jar:7.1:compile
[INFO] | | | +- org.ow2.asm:asm-commons:jar:7.1:compile
[INFO] | | | +- org.ow2.asm:asm-tree:jar:7.1:compile
[INFO] | | | \- org.ow2.asm:asm-util:jar:7.1:compile
[INFO] | | +- org.glassfish.hk2:spring-bridge:jar:2.6.1:compile
[INFO] | | | \- org.glassfish.hk2.external:jakarta.inject:jar:2.6.1:compile
[INFO] | | \- org.springframework:spring-aop:jar:5.2.4.RELEASE:compile
[INFO] | +- org.glassfish.jersey.media:jersey-media-json-jackson:jar:2.6: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] | \- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile
[INFO] | \- jakarta.activation:jakarta.activation-api:jar:1.2.2:compile
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.2.5.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:2.2.5.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot:jar:2.2.5.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.2.5.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:2.2.5.RELEASE:compile
[INFO] | | | +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO] | | | | \- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] | | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.12.1:compile
[INFO] | | | | \- org.apache.logging.log4j:log4j-api:jar:2.12.1:compile
[INFO] | | | \- org.slf4j:jul-to-slf4j:jar:1.7.30:compile
[INFO] | | \- org.yaml:snakeyaml:jar:1.25:runtime
[INFO] | \- org.springframework:spring-webmvc:jar:5.2.4.RELEASE:compile
[INFO] | +- org.springframework:spring-context:jar:5.2.4.RELEASE:compile
[INFO] | \- org.springframework:spring-expression:jar:5.2.4.RELEASE:compile
[INFO] +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.6.7:compile
[INFO] | +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.6.7:compile
[INFO] | \- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
[INFO] +- mysql:mysql-connector-java:jar:5.1.46:compile
[INFO] +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.2.5.RELEASE:provided
[INFO] | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.31:provided
[INFO] | +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.31:compile
[INFO] | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.31:provided
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.2.5.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test:jar:2.2.5.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.2.5.RELEASE:test
[INFO] | +- com.jayway.jsonpath:json-path:jar:2.4.0:test
[INFO] | | \- net.minidev:json-smart:jar:2.3:test
[INFO] | | \- net.minidev:accessors-smart:jar:1.2:test
[INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.5.2:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.5.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.5.2:test
[INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.5.2:test
[INFO] | | \- org.junit.jupiter:junit-jupiter-engine:jar:5.5.2:test
[INFO] | | \- org.junit.platform:junit-platform-engine:jar:1.5.2:test
[INFO] | +- org.mockito:mockito-junit-jupiter:jar:3.1.0:test
[INFO] | +- org.assertj:assertj-core:jar:3.13.2:test
[INFO] | +- org.hamcrest:hamcrest:jar:2.1:compile
[INFO] | +- org.mockito:mockito-core:jar:3.1.0:test
[INFO] | | +- net.bytebuddy:byte-buddy:jar:1.10.8:compile
[INFO] | | +- net.bytebuddy:byte-buddy-agent:jar:1.10.8:test
[INFO] | | \- org.objenesis:objenesis:jar:2.6: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.springframework:spring-core:jar:5.2.4.RELEASE:compile
[INFO] | | \- org.springframework:spring-jcl:jar:5.2.4.RELEASE:compile
[INFO] | +- org.springframework:spring-test:jar:5.2.4.RELEASE:test
[INFO] | \- org.xmlunit:xmlunit-core:jar:2.6.3:test
[INFO] +- io.springfox:springfox-swagger2:jar:2.9.2:compile
[INFO] | +- io.swagger:swagger-annotations:jar:1.5.20:compile
[INFO] | +- io.swagger:swagger-models:jar:1.5.20:compile
[INFO] | +- io.springfox:springfox-spi:jar:2.9.2:compile
[INFO] | | \- io.springfox:springfox-core:jar:2.9.2:compile
[INFO] | +- io.springfox:springfox-schema:jar:2.9.2:compile
[INFO] | +- io.springfox:springfox-swagger-common:jar:2.9.2:compile
[INFO] | +- io.springfox:springfox-spring-web:jar:2.9.2:compile
[INFO] | +- com.google.guava:guava:jar:20.0:compile
[INFO] | +- com.fasterxml:classmate:jar:1.5.1:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.30:compile
[INFO] | +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile
[INFO] | +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile
[INFO] | \- org.mapstruct:mapstruct:jar:1.2.0.Final:compile
[INFO] +- io.springfox:springfox-swagger-ui:jar:2.9.2:compile
[INFO] +- io.springfox:springfox-bean-validators:jar:2.9.2:compile
[INFO] +- javax.xml:jaxb-api:jar:2.1:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.9:compile
[INFO] +- com.sun.xml.bind:jaxb-core:jar:2.3.0.1:compile
[INFO] +- commons-codec:commons-codec:jar:1.13:compile
[INFO] +- log4j:log4j:jar:1.2.17:compile
[INFO] +- com.google.code.gson:gson:jar:2.8.6:compile
[INFO] +- com.googlecode.json-simple:json-simple:jar:1.1.1:compile
[INFO] | \- junit:junit:jar:4.12:compile
[INFO] | \- org.hamcrest:hamcrest-core:jar:2.1:compile
[INFO] +- commons-lang:commons-lang:jar:2.6:compile
[INFO] +- com.valspar:valspar-common-utils:jar:1.1:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.4:compile
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.9.4:compile
[INFO] +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.4:compile
[INFO] +- com.sherwin:vservices_api:jar:1.0:compile
[INFO] | +- org.jdom:jdom:jar:1.1.3:compile
[INFO] | +- javax.mail:mail:jar:1.4.7:compile
[INFO] | | \- javax.activation:activation:jar:1.1:compile
[INFO] | +- org.hibernate:hibernate-core:jar:5.1.16.Final:compile
[INFO] | | +- org.jboss.logging:jboss-logging:jar:3.4.1.Final:compile
[INFO] | | +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[INFO] | | +- org.javassist:javassist:jar:3.20.0-GA:compile
[INFO] | | +- antlr:antlr:jar:2.7.7:compile
[INFO] | | +- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
[INFO] | | +- org.jboss:jandex:jar:2.0.3.Final:compile
[INFO] | | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | | | \- xml-apis:xml-apis:jar:1.0.b2:compile
[INFO] | | \- org.hibernate.common:hibernate-commons-annotations:jar:5.0.1.Final:compile
[INFO] | +- oracle:ojdbc:jar:10.1.0.2.0:compile
[INFO] | \- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] \- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.1:compile
[INFO] \- javax.xml.stream:stax-api:jar:1.0-2:compile`
I have one class declared this way:
#ApplicationScoped
public class MessageHandlerImpl implements MessageHandler {
...
}
and I inject it on another class like this:
#ApplicationScoped
public class MessageReceiverImpl implements MessageReceiver {
#Inject
MessageHandler messageHandler;
...
}
When I try to start my application I receive the following exception:
org.jboss.weld.exceptions.DeploymentException: WELD-001409: Ambiguous
dependencies for type MessageHandler with qualifiers #Default at
injection point [BackedAnnotatedField] #Inject
com.company.core.WSClient.messageHandler at com.company.core.WSClient.messageHandler(WSClient.java:0)
Possible dependencies:
- Managed Bean [class com.company.core.MessageReceiverImpl] with qualifiers [#Any #Default],
- Managed Bean [class com.company.core.MessageReceiverImpl] with qualifiers [#Any #Default]
You might notice that the same class appears two times on the possible beans list.
This was all working fine until I isolated those classes on a separated project called "core" and started using them on a different maven project that has the core as a dependency.
My guess would be that the problem its caused by this project separation. Do I need to do something different when the dependencies come from a different project?
I'm running the application with:
mvn wildfly-swarm:run
Wildfly-swarm generates an uber-jar with everything to make the final jar independent. Looking inside the final jar there is a "maven repository" with all the dependencies and there is only one jar from "com.company" which is the one I was expecting (the core).
The pom files are like this:
Core:
<groupId>com.company</groupId>
<artifactId>core</artifactId>
<version>0.0.1</version>
<packaging>jar</packaging>
Depedent project:
<dependency>
<groupId>com.company</groupId>
<artifactId>core</artifactId>
<version>0.0.1</version>
</dependency>
mvn dependency:tree
[INFO] com.company:dependent-project:jar:0.0.1
[INFO] +- com.company:another-project:jar:1.4.2:compile
[INFO] | \- org.springframework:spring-beans:jar:4.1.6.RELEASE:compile
[INFO] | \- org.springframework:spring-core:jar:4.1.6.RELEASE:compile
[INFO] +- com.company:core:jar:0.0.1:compile
[INFO] +- info.cukes:cucumber-junit:jar:1.2.5:compile
[INFO] | \- info.cukes:cucumber-core:jar:1.2.5:compile
[INFO] | +- info.cukes:cucumber-html:jar:0.2.3:compile
[INFO] | +- info.cukes:cucumber-jvm-deps:jar:1.0.5:compile
[INFO] | \- info.cukes:gherkin:jar:2.12.2:compile
[INFO] +- info.cukes:cucumber-java:jar:1.2.5:test
[INFO] +- com.google.protobuf:protobuf-java:jar:3.4.0:compile
[INFO] +- org.zeromq:jeromq:jar:0.4.2:compile
[INFO] | \- org.zeromq:jnacl:jar:0.1.0:compile
[INFO] +- org.wildfly.swarm:keycloak:jar:2017.6.0:compile
[INFO] | +- org.wildfly.swarm:container:jar:2017.6.0:compile
[INFO] | | +- org.wildfly.swarm:spi:jar:2017.6.0:compile
[INFO] | | | \- org.jboss:jandex:jar:2.0.2.Final:compile
[INFO] | | \- org.wildfly.swarm:config-api:jar:1.1.0.Final:compile
[INFO] | +- org.wildfly.swarm:undertow:jar:2017.6.0:compile
[INFO] | | +- org.wildfly.swarm:io:jar:2017.6.0:compile
[INFO] | | +- org.wildfly.swarm:request-controller:jar:2017.6.0:compile
[INFO] | | +- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-jboss:jar:2.0.0:compile
[INFO] | | +- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-impl-jboss:jar:2.0.0:compile
[INFO] | | +- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-javaee:jar:2.0.0:compile
[INFO] | | | \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-base:jar:2.0.0:compile
[INFO] | | +- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-impl-javaee:jar:2.0.0:compile
[INFO] | | | \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-impl-base:jar:2.0.0:compile
[INFO] | | +- org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec:jar:1.0.0.Final:compile
[INFO] | | +- org.jboss.spec.javax.websocket:jboss-websocket-api_1.1_spec:jar:1.1.1.Final:compile
[INFO] | | \- io.undertow:undertow-servlet:jar:1.4.11.Final:compile
[INFO] | | \- io.undertow:undertow-core:jar:1.4.11.Final:compile
[INFO] | | +- org.jboss.xnio:xnio-api:jar:3.4.3.Final:compile
[INFO] | | \- org.jboss.xnio:xnio-nio:jar:3.4.3.Final:runtime
[INFO] | +- org.wildfly.swarm:security:jar:2017.6.0:compile
[INFO] | +- org.wildfly.swarm:keycloak-client-config-api:jar:1.1.0.Final:compile
[INFO] | | \- org.wildfly.swarm:config-api-runtime:jar:1.1.0.Final:compile
[INFO] | \- org.keycloak:keycloak-core:jar:2.5.4.Final:compile
[INFO] | +- org.keycloak:keycloak-common:jar:2.5.4.Final:compile
[INFO] | +- org.bouncycastle:bcprov-jdk15on:jar:1.52:compile
[INFO] | \- org.bouncycastle:bcpkix-jdk15on:jar:1.52:compile
[INFO] +- org.wildfly.swarm:jaxrs-validator:jar:2017.6.0:compile
[INFO] | +- org.wildfly.swarm:hibernate-validator:jar:2017.6.0:compile
[INFO] | | +- org.jboss.spec.javax.el:jboss-el-api_3.0_spec:jar:1.0.7.Final:compile
[INFO] | | \- org.glassfish:javax.el-impl:jar:3.0.1-b08-jbossorg-1:compile
[INFO] | \- org.wildfly.swarm:meta-spi:jar:2017.6.0:compile
[INFO] +- org.mongodb:mongo-java-driver:jar:3.4.2:compile
[INFO] +- org.mapstruct:mapstruct-jdk8:jar:1.2.0.Beta2:compile
[INFO] +- org.mapstruct:mapstruct-processor:jar:1.2.0.Beta2:provided
[INFO] +- org.apache.commons:commons-text:jar:1.1:compile
[INFO] +- org.wildfly.swarm:jpa:jar:2017.6.0:compile
[INFO] | +- org.wildfly.swarm:datasources:jar:2017.6.0:compile
[INFO] | | \- org.jboss.ironjacamar:ironjacamar-jdbc:jar:1.3.4.Final:compile
[INFO] | +- org.wildfly.swarm:ee:jar:2017.6.0:compile
[INFO] | | +- org.wildfly.swarm:naming:jar:2017.6.0:compile
[INFO] | | +- org.jboss.spec.javax.enterprise.concurrent:jboss-concurrency-api_1.0_spec:jar:1.0.0.Final:compile
[INFO] | | \- org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.2_spec:jar:1.0.0.Final:compile
[INFO] | +- org.wildfly.swarm:bootstrap:jar:2017.6.0:compile
[INFO] | | +- org.jboss.modules:jboss-modules:jar:1.5.2.Final:compile
[INFO] | | \- org.yaml:snakeyaml:jar:1.15:compile
[INFO] | \- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[INFO] +- javax:javaee-api:jar:7.0:provided
[INFO] | \- com.sun.mail:javax.mail:jar:1.5.5:provided
[INFO] +- org.wildfly.swarm:ejb:jar:2017.6.0:compile
[INFO] | +- org.wildfly.swarm:jca:jar:2017.6.0:compile
[INFO] | | \- org.wildfly.swarm:connector:jar:2017.6.0:compile
[INFO] | | \- org.jboss.spec.javax.resource:jboss-connector-api_1.7_spec:jar:1.0.0.Final:compile
[INFO] | +- org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:jar:1.0.0.Final:compile
[INFO] | \- org.jboss.ejb3:jboss-ejb3-ext-api:jar:2.2.0.Final:compile
[INFO] +- org.wildfly.swarm:cdi:jar:2017.6.0:compile
[INFO] | +- org.wildfly.swarm:cdi-config:jar:2017.6.0:compile
[INFO] | +- org.wildfly.swarm:bean-validation:jar:2017.6.0:compile
[INFO] | +- org.wildfly.swarm:transactions:jar:2017.6.0:compile
[INFO] | | +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
[INFO] | | \- org.jboss.narayana.jts:narayana-jts-idlj:jar:5.3.3.Final:compile
[INFO] | | \- org.jboss.openjdk-orb:openjdk-orb:jar:8.0.6.Final:compile
[INFO] | +- javax.enterprise:cdi-api:jar:1.2:compile
[INFO] | \- javax.inject:javax.inject:jar:1:compile
[INFO] +- org.wildfly.swarm:jaxrs:jar:2017.6.0:compile
[INFO] | +- org.ow2.asm:asm-all:jar:5.0.4:compile
[INFO] | +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.0_spec:jar:1.0.0.Final:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.7.4:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.7.4:compile
[INFO] | \- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.7.4:compile
[INFO] | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.7.4:compile
[INFO] | \- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.7.4:compile
[INFO] +- org.wildfly.swarm:jaxrs-cdi:jar:2017.6.0:compile
[INFO] +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api-maven:jar:2.2.4:compile
[INFO] | \- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api:jar:2.2.4:compile
[INFO] +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven:jar:2.2.4:compile
[INFO] | +- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-spi-maven:jar:2.2.4:compile
[INFO] | | \- org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-spi:jar:2.2.4:compile
[INFO] | +- org.eclipse.aether:aether-api:jar:1.0.0.v20140518:compile
[INFO] | +- org.eclipse.aether:aether-impl:jar:1.0.0.v20140518:compile
[INFO] | +- org.eclipse.aether:aether-spi:jar:1.0.0.v20140518:compile
[INFO] | +- org.eclipse.aether:aether-util:jar:1.0.0.v20140518:compile
[INFO] | +- org.eclipse.aether:aether-connector-basic:jar:1.0.0.v20140518:compile
[INFO] | +- org.eclipse.aether:aether-transport-wagon:jar:1.0.0.v20140518:compile
[INFO] | +- org.apache.maven:maven-aether-provider:jar:3.2.5:provided
[INFO] | +- org.apache.maven:maven-model:jar:3.2.5:compile
[INFO] | +- org.apache.maven:maven-model-builder:jar:3.2.5:compile
[INFO] | | \- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[INFO] | +- org.apache.maven:maven-repository-metadata:jar:3.2.5:compile
[INFO] | +- org.apache.maven:maven-settings:jar:3.2.5:compile
[INFO] | +- org.apache.maven:maven-settings-builder:jar:3.2.5:compile
[INFO] | +- org.codehaus.plexus:plexus-interpolation:jar:1.21:compile
[INFO] | +- org.codehaus.plexus:plexus-utils:jar:3.0.21:compile
[INFO] | +- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[INFO] | | \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[INFO] | +- org.apache.maven.wagon:wagon-provider-api:jar:2.6:compile
[INFO] | +- org.apache.maven.wagon:wagon-file:jar:2.6:compile
[INFO] | \- org.apache.maven.wagon:wagon-http-lightweight:jar:2.6:compile
[INFO] | \- org.apache.maven.wagon:wagon-http-shared:jar:2.6:compile
[INFO] | \- org.jsoup:jsoup:jar:1.8.3:compile
[INFO] +- org.wildfly.swarm:logging:jar:2017.6.0:compile
[INFO] | \- org.jboss.logging:jboss-logging:jar:3.3.0.Final:compile
[INFO] +- javax.servlet:servlet-api:jar:2.5:provided
[INFO] +- org.jboss.resteasy:resteasy-jaxrs:jar:3.0.19.Final:provided
[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:provided
[INFO] +- org.jboss.resteasy:jaxrs-api:jar:3.0.6.Final:provided
[INFO] +- org.jboss.resteasy:resteasy-validator-provider-11:jar:3.0.19.Final:provided
[INFO] | \- com.fasterxml:classmate:jar:1.3.1:compile
[INFO] +- org.jboss.resteasy:resteasy-multipart-provider:jar:3.0.19.Final:provided
[INFO] | +- org.jboss.resteasy:resteasy-client:jar:3.0.19.Final:provided
[INFO] | +- org.jboss.resteasy:resteasy-jaxb-provider:jar:3.0.19.Final:provided
[INFO] | \- org.apache.james:apache-mime4j:jar:0.6:provided
[INFO] +- org.jboss.resteasy:resteasy-jackson2-provider:jar:3.0.19.Final:compile
[INFO] +- javax.annotation:javax.annotation-api:jar:1.2:provided
[INFO] +- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.4.1:compile
[INFO] +- joda-time:joda-time:jar:2.7:compile
[INFO] +- io.swagger:swagger-jaxrs:jar:1.5.16:compile
[INFO] | +- io.swagger:swagger-core:jar:1.5.16:compile
[INFO] | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.8.9:compile
[INFO] | | \- io.swagger:swagger-models:jar:1.5.16:compile
[INFO] | | \- io.swagger:swagger-annotations:jar:1.5.16:compile
[INFO] | +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
[INFO] | \- org.reflections:reflections:jar:0.9.11:compile
[INFO] | \- org.javassist:javassist:jar:3.18.1-GA:compile
[INFO] +- com.google.guava:guava:jar:20.0:compile
[INFO] +- junit:junit:jar:4.11:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- javax.validation:validation-api:jar:1.1.0.Final:provided
[INFO] +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.7.4:compile
[INFO] +- org.hibernate:hibernate-validator:jar:5.2.4.Final:compile
[INFO] +- org.glassfish:javax.el:jar:3.0.1-b08:compile
[INFO] +- org.hibernate:hibernate-validator-cdi:jar:5.2.4.Final:compile
[INFO] +- org.apache.httpcomponents:httpclient:jar:4.5:compile
[INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.1:compile
[INFO] | \- commons-codec:commons-codec:jar:1.10:compile
[INFO] +- org.postgresql:postgresql:jar:42.1.4:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.7.22:compile
[INFO] +- org.slf4j:slf4j-nop:jar:1.7.22:test
[INFO] +- org.wildfly.swarm:arquillian:jar:2017.6.0:test
[INFO] | +- org.wildfly.swarm:arquillian-daemon:jar:2017.6.0:test
[INFO] | | +- org.wildfly.core:wildfly-server:jar:2.2.1.Final:test
[INFO] | | | +- org.wildfly.core:wildfly-controller:jar:2.2.1.Final:test
[INFO] | | | | +- org.wildfly.core:wildfly-controller-client:jar:2.2.1.Final:test
[INFO] | | | | +- org.wildfly.core:wildfly-core-security:jar:2.2.1.Final:test
[INFO] | | | | | \- org.wildfly.core:wildfly-core-security-api:jar:2.2.1.Final:test
[INFO] | | | | \- org.jboss:staxmapper:jar:1.2.0.Final:test
[INFO] | | | +- org.wildfly.core:wildfly-domain-http-interface:jar:2.2.1.Final:test
[INFO] | | | | \- org.wildfly.core:wildfly-domain-management:jar:2.2.1.Final:test
[INFO] | | | | \- org.picketbox:picketbox:jar:4.9.6.Final:test
[INFO] | | | +- org.wildfly.core:wildfly-deployment-repository:jar:2.2.1.Final:test
[INFO] | | | | \- org.wildfly.core:wildfly-protocol:jar:2.2.1.Final:test
[INFO] | | | +- org.wildfly.core:wildfly-platform-mbean:jar:2.2.1.Final:test
[INFO] | | | +- org.wildfly.core:wildfly-process-controller:jar:2.2.1.Final:test
[INFO] | | | +- org.wildfly.core:wildfly-remoting:jar:2.2.1.Final:test
[INFO] | | | | \- org.wildfly.core:wildfly-io:jar:2.2.1.Final:test
[INFO] | | | +- org.wildfly.core:wildfly-network:jar:2.2.1.Final:test
[INFO] | | | +- org.wildfly.core:wildfly-self-contained:jar:2.2.1.Final:test
[INFO] | | | +- org.wildfly.security:wildfly-elytron:jar:1.0.2.Final:test
[INFO] | | | +- org.wildfly.core:wildfly-version:jar:2.2.1.Final:test
[INFO] | | | +- org.jboss:jboss-dmr:jar:1.3.0.Final:test
[INFO] | | | +- org.jboss.invocation:jboss-invocation:jar:1.4.1.Final:test
[INFO] | | | +- org.jboss.marshalling:jboss-marshalling:jar:1.4.11.Final:test
[INFO] | | | +- org.jboss.remoting:jboss-remoting:jar:4.0.21.Final:test
[INFO] | | | +- org.jboss.sasl:jboss-sasl:jar:1.0.5.Final:test
[INFO] | | | +- org.jboss.stdio:jboss-stdio:jar:1.0.2.GA:test
[INFO] | | | +- org.jboss.threads:jboss-threads:jar:2.2.1.Final:test
[INFO] | | | +- org.jboss:jboss-vfs:jar:3.2.12.Final:test
[INFO] | | | \- org.wildfly.common:wildfly-common:jar:1.1.0.Final:compile
[INFO] | | \- org.jboss.msc:jboss-msc:jar:1.2.6.Final:test
[INFO] | \- org.wildfly.swarm:arquillian-adapter:jar:2017.6.0:test
[INFO] | +- org.wildfly.swarm:arquillian-resolver:jar:2017.6.0:test
[INFO] | +- org.wildfly.swarm:fraction-metadata:jar:2017.6.0:test
[INFO] | | \- com.eclipsesource.minimal-json:minimal-json:jar:0.9.4:test
[INFO] | +- org.wildfly.swarm:tools:jar:2017.6.0:test
[INFO] | | \- net.lingala.zip4j:zip4j:jar:1.3.2:test
[INFO] | +- org.wildfly.swarm:msc:jar:2017.6.0:test
[INFO] | +- org.jboss.arquillian.container:arquillian-container-spi:jar:1.1.10.Final:test
[INFO] | +- org.jboss.arquillian.testenricher:arquillian-testenricher-cdi:jar:1.1.10.Final:test
[INFO] | +- org.jboss.arquillian.testenricher:arquillian-testenricher-ejb:jar:1.1.10.Final:test
[INFO] | +- org.jboss.arquillian.testenricher:arquillian-testenricher-resource:jar:1.1.10.Final:test
[INFO] | +- org.jboss.arquillian.testenricher:arquillian-testenricher-initialcontext:jar:1.1.10.Final:test
[INFO] | \- org.jboss.arquillian.config:arquillian-config-impl-base:jar:1.1.12.Final:test
[INFO] +- org.jboss.arquillian.junit:arquillian-junit-container:jar:1.1.10.Final:test
[INFO] | +- org.jboss.arquillian.junit:arquillian-junit-core:jar:1.1.10.Final:test
[INFO] | +- org.jboss.arquillian.test:arquillian-test-api:jar:1.1.12.Final:test
[INFO] | | \- org.jboss.arquillian.core:arquillian-core-api:jar:1.1.10.Final:test
[INFO] | +- org.jboss.arquillian.test:arquillian-test-spi:jar:1.1.10.Final:test
[INFO] | | \- org.jboss.arquillian.core:arquillian-core-spi:jar:1.1.10.Final:test
[INFO] | +- org.jboss.arquillian.container:arquillian-container-test-api:jar:1.1.10.Final:test
[INFO] | | \- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.2.6:compile
[INFO] | +- org.jboss.arquillian.container:arquillian-container-test-spi:jar:1.1.10.Final:test
[INFO] | +- org.jboss.arquillian.core:arquillian-core-impl-base:jar:1.1.10.Final:test
[INFO] | +- org.jboss.arquillian.test:arquillian-test-impl-base:jar:1.1.10.Final:test
[INFO] | +- org.jboss.arquillian.container:arquillian-container-impl-base:jar:1.1.12.Final:test
[INFO] | | +- org.jboss.arquillian.config:arquillian-config-api:jar:1.1.12.Final:test
[INFO] | | \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-spi:jar:2.0.0:compile
[INFO] | +- org.jboss.arquillian.container:arquillian-container-test-impl-base:jar:1.1.10.Final:test
[INFO] | \- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.2.6:compile
[INFO] | \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.2.6:compile
[INFO] +- org.jacoco:org.jacoco.core:jar:0.7.9:test
[INFO] | \- org.ow2.asm:asm-debug-all:jar:5.2:test
[INFO] +- org.mockito:mockito-all:jar:2.0.2-beta:test
[INFO] +- org.powermock:powermock-module-junit4:jar:1.6.6:test
[INFO] | \- org.powermock:powermock-module-junit4-common:jar:1.6.6:test
[INFO] | +- org.powermock:powermock-core:jar:1.6.6:test
[INFO] | \- org.powermock:powermock-reflect:jar:1.6.6:test
[INFO] +- org.powermock:powermock-api-mockito:jar:1.6.6:test
[INFO] | +- org.mockito:mockito-core:jar:1.10.19:test
[INFO] | | \- org.objenesis:objenesis:jar:2.1:test
[INFO] | \- org.powermock:powermock-api-mockito-common:jar:1.6.6:test
[INFO] | \- org.powermock:powermock-api-support:jar:1.6.6:test
[INFO] +- org.apache.commons:commons-lang3:jar:3.5:compile
[INFO] +- org.infinispan:infinispan-embedded:jar:9.0.0.Final:compile
[INFO] | \- org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.1.Final:compile
[INFO] +- com.typesafe.akka:akka-actor_2.12:jar:2.5.3:compile
[INFO] | +- org.scala-lang:scala-library:jar:2.12.2:compile
[INFO] | +- com.typesafe:config:jar:1.3.1:compile
[INFO] | \- org.scala-lang.modules:scala-java8-compat_2.12:jar:0.8.0:compile
[INFO] \- com.google.code.gson:gson:jar:2.8.1:compile
I'm attempting to use Hibernate Validator in an API gateway framework. The code eventually runs in Karaf, but I'm trying to get a unit test (not a PAX test) working first. I'll be using Mockito for mocking, but I don't think that's an issue yet.
I'm using "hibernate-validator" and "hibernate-validator-annotation-processor", version 5.4.1.Final.
When I run the test, I get the following:
HV000183: Unable to initialize 'javax.el.ExpressionFactory'. Check that you have the EL dependencies on the classpath, or use ParameterMessageInterpolator instead
From other occurrences of this, I concluded that I have to add "org.glassfish:javax.el:3.0.0". Unfortunately, this had no effect. Exact same exception.
Update:
Some advice I've seen said to REMOVE the "javax.el-api" artifact. I found this referenced in one POM, so I commented it out. I also noticed that the "cdi-api" artifact appears to pull it in transitively, so I also commented that out.
Unfortunately, "mvn dependency:tree" still shows the 2.2.5 version of "javax.el-api" showing up, along with the 3.0.0 version of the glassfish "javax.el" artifact.
How do I get past this?
Update:
I've now updated my dependencies so that I have only "javax.el", version 3.0.1-b08, no "api" variant, but I'm still getting the error.
Here's my current dependency tree:
[INFO] mygroupid:usl-fraudcheck-impl:bundle:2.5.0-SNAPSHOT
[INFO] +- mygroupid:usl-csi-jaxb-base:jar:2.5.0-SNAPSHOT:compile
[INFO] | +- mygroupid:usl-shared:jar:2.5.0-SNAPSHOT:compile
[INFO] | | +- org.apache.servicemix.bundles:org.apache.servicemix.bundles.xmlbeans:jar:2.5.0_1:compile
[INFO] | | +- org.apache.servicemix.bundles:org.apache.servicemix.bundles.xstream:jar:1.4.9_1:compile
[INFO] | | | +- xmlpull:xmlpull:jar:1.1.3.1:compile
[INFO] | | | \- xpp3:xpp3_min:jar:1.1.4c:compile
[INFO] | | +- org.apache.servicemix.bundles:org.apache.servicemix.bundles.xmlpull:jar:1.1.3.1_2:compile
[INFO] | | +- org.apache.servicemix.bundles:org.apache.servicemix.bundles.javax.mail:jar:1.4.1_5:compile
[INFO] | | +- org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-httpclient:jar:3.1_7:compile
[INFO] | | +- org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-codec:jar:1.3_5:compile
[INFO] | | +- org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-io:jar:1.4_3:compile
[INFO] | | +- javax.ejb:javax.ejb-api:jar:3.2:compile
[INFO] | | +- javax.jms:javax.jms-api:jar:2.0:compile
[INFO] | | +- mygroupid.csi:csi88:jar:88.0:compile
[INFO] | | +- mygroupid.csi:csi213:jar:213.0:compile
[INFO] | | +- javax.xml.rpc:com.springsource.javax.xml.rpc:jar:1.1.0.v20110517:compile
[INFO] | | +- javax.transaction:javax.transaction-api:jar:1.2:compile
[INFO] | | +- javax.interceptor:javax.interceptor-api:jar:1.2:compile
[INFO] | | \- org.apache.servicemix.bundles:org.apache.servicemix.bundles.javax-inject:jar:1_2:compile
[INFO] | +- mygroupid:usl-base:jar:2.5.0-SNAPSHOT:compile
[INFO] | | +- org.apache.xmlbeans:xmlbeans:jar:2.4.0:compile
[INFO] | | | \- stax:stax-api:jar:1.0.1:compile
[INFO] | | +- org.apache.axis:axis:jar:1.4:compile
[INFO] | | +- org.apache.neethi:neethi:jar:3.0.0:compile
[INFO] | | | \- wsdl4j:wsdl4j:jar:1.6.2:compile
[INFO] | | +- org.apache.woden:woden-api:jar:1.0M9:compile
[INFO] | | +- org.apache.commons:com.springsource.org.apache.commons.net:jar:1.4.1:compile
[INFO] | | +- org.apache.woden:woden-impl-dom:jar:1.0M9:compile
[INFO] | | +- org.apache.woden:woden-impl-commons:jar:1.0M9:compile
[INFO] | | +- org.apache.ws.commons.schema:XmlSchema:jar:1.4.7:compile
[INFO] | | +- org.apache.httpcomponents:httpcore-osgi:jar:4.4:compile
[INFO] | | | +- org.apache.httpcomponents:httpcore:jar:4.4:compile
[INFO] | | | \- org.apache.httpcomponents:httpcore-nio:jar:4.4:compile
[INFO] | | +- org.apache.httpcomponents:httpclient-osgi:jar:4.5.2:compile
[INFO] | | | +- org.apache.httpcomponents:httpclient:jar:4.5.2:compile
[INFO] | | | +- commons-codec:commons-codec:jar:1.10:compile
[INFO] | | | +- org.apache.httpcomponents:httpmime:jar:4.5.2:compile
[INFO] | | | +- org.apache.httpcomponents:httpclient-cache:jar:4.5.2:compile
[INFO] | | | \- org.apache.httpcomponents:fluent-hc:jar:4.5.2:compile
[INFO] | | +- org.apache.servicemix.bundles:org.apache.servicemix.bundles.wsdl4j:jar:1.6.2_5:compile
[INFO] | | +- org.apache.ws.commons.axiom:axiom-api:jar:1.2.5:compile
[INFO] | | | +- javax.mail:mail:jar:1.4:compile
[INFO] | | | | \- javax.activation:activation:jar:1.1:compile
[INFO] | | | \- xml-apis:xml-apis:jar:1.4.01:test
[INFO] | | +- org.apache.axiom:com.springsource.org.apache.axiom:jar:1.2.5:compile
[INFO] | | +- org.apache.servicemix.bundles:org.apache.servicemix.bundles.axiom-impl:jar:1.2.13_1:compile
[INFO] | | | +- org.apache.james:apache-mime4j-core:jar:0.7.2:compile
[INFO] | | | +- org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.1:compile
[INFO] | | | +- org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.7.1:compile
[INFO] | | | +- org.codehaus.woodstox:wstx-asl:jar:3.2.9:compile
[INFO] | | | \- org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile
[INFO] | | +- org.apache.axis:com.springsource.org.apache.axis:jar:1.4.0:compile
[INFO] | | | \- org.apache.commons:com.springsource.org.apache.commons.httpclient:jar:3.1.0:compile
[INFO] | | | \- org.apache.commons:com.springsource.org.apache.commons.codec:jar:1.3.0:compile
[INFO] | | +- org.apache.commons:com.springsource.org.apache.commons.discovery:jar:0.4.0:compile
[INFO] | | +- org.apache.commons:com.springsource.org.apache.commons.logging:jar:1.1.1:compile
[INFO] | | +- javax.jms:com.springsource.javax.jms:jar:1.1.0:compile
[INFO] | | +- javax.servlet:servlet-api:jar:2.5:compile
[INFO] | | \- javax.ws.rs:javax.ws.rs-api:jar:2.0:compile
[INFO] | +- mygroupid.csi:csi-app:jar:1.0:compile
[INFO] | +- mygroupid.csi:csi97:jar:97.0:compile
[INFO] | +- mygroupid.csi:csi104:jar:104.0:compile
[INFO] | +- mygroupid.csi:csi106:jar:106.0:compile
[INFO] | +- mygroupid.csi:csi112:jar:112.1:compile
[INFO] | +- mygroupid.csi:csi109:jar:109.0:compile
[INFO] | +- mygroupid.csi:csi217:jar:217.0:compile
[INFO] | +- mygroupid.csi:csi116:jar:116:compile
[INFO] | +- mygroupid.csi.icas:csi116:jar:200.0:compile
[INFO] | +- mygroupid.csi.unifiedservices:csi116:jar:212.0:compile
[INFO] | +- mygroupid.csi.paom:csi112:jar:205.0:compile
[INFO] | +- mygroupid.csi.oneviewaddresslocationsystem:csi116:jar:203.0:compile
[INFO] | +- mygroupid.csi.orderandsubscriptionmanagementmobility:csi116:jar:206.0:compile
[INFO] | +- mygroupid.csi:csi121:jar:121:compile
[INFO] | \- mygroupid.csi.unifiedservices:csi121:jar:216.0:compile
[INFO] +- mygroupid:usl-fraudcheck-api:jar:2.5.0-SNAPSHOT:compile
[INFO] | \- mygroupid:usl-metrics:jar:2.5.0-SNAPSHOT:compile
[INFO] | +- mygroupid.oracle:ojdbc6:jar:11.2.0.3.0:compile
[INFO] | +- mygroupid.oracle:oracle.jdbc.OracleDriver:jar:12.1.0.1:compile
[INFO] | +- com.zaxxer:HikariCP:jar:2.6.1:compile
[INFO] | \- org.javassist:javassist:jar:3.18.2-GA:compile
[INFO] +- mygroupid.xmlsoap:xmlsoap:jar:11.0:compile
[INFO] +- mygroupid:usl-csi-jaxb-base:test-jar:tests:2.5.0-SNAPSHOT:test
[INFO] +- commons-beanutils:commons-beanutils:jar:1.9.3:compile
[INFO] +- org.hibernate:hibernate-validator:jar:5.4.1.Final:compile
[INFO] | +- javax.validation:validation-api:jar:1.1.0.Final:compile
[INFO] | +- org.jboss.logging:jboss-logging:jar:3.3.0.Final:compile
[INFO] | \- com.fasterxml:classmate:jar:1.3.1:compile
[INFO] +- org.hibernate:hibernate-validator-annotation-processor:jar:5.4.1.Final:compile
[INFO] +- org.glassfish:javax.el:jar:3.0.1-b08:compile
[INFO] +- log4j:log4j:jar:1.2.16:provided
[INFO] +- org.codehaus.mojo:cobertura-maven-plugin:jar:2.6:compile
[INFO] | +- net.sourceforge.cobertura:cobertura:jar:2.0.3:compile
[INFO] | | +- org.ow2.asm:asm:jar:4.1:compile
[INFO] | | +- org.ow2.asm:asm-tree:jar:4.1:compile
[INFO] | | +- org.ow2.asm:asm-commons:jar:4.1:compile
[INFO] | | +- org.ow2.asm:asm-util:jar:4.1:compile
[INFO] | | +- org.ow2.asm:asm-analysis:jar:4.1:compile
[INFO] | | +- oro:oro:jar:2.0.8:compile
[INFO] | | +- jaxen:jaxen:jar:1.1-beta-8:compile
[INFO] | | | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | | | +- jdom:jdom:jar:1.0:compile
[INFO] | | | +- xerces:xmlParserAPIs:jar:2.6.2:compile
[INFO] | | | +- xerces:xercesImpl:jar:2.11.0:test
[INFO] | | | \- xom:xom:jar:1.0b3:compile
[INFO] | | | +- com.ibm.icu:icu4j:jar:2.6.1:compile
[INFO] | | | +- xalan:xalan:jar:2.7.2:compile
[INFO] | | | | \- xalan:serializer:jar:2.7.2:compile
[INFO] | | | \- org.ccil.cowan.tagsoup:tagsoup:jar:0.9.7:compile
[INFO] | | +- org.apache.ant:ant:jar:1.8.3:compile
[INFO] | | | \- org.apache.ant:ant-launcher:jar:1.8.3:compile
[INFO] | | +- org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:compile
[INFO] | | +- org.mortbay.jetty:jetty:jar:6.1.14:compile
[INFO] | | +- org.mortbay.jetty:jetty-util:jar:6.1.14:compile
[INFO] | | \- com.sun:tools:jar:0:system
[INFO] | +- net.sourceforge.cobertura:cobertura-runtime:pom:2.0.3:compile
[INFO] | +- urbanophile:java-getopt:jar:1.0.9:compile
[INFO] | +- org.apache.maven:maven-core:jar:2.0.8:compile
[INFO] | | +- org.apache.maven:maven-settings:jar:2.0.8:compile
[INFO] | | +- org.apache.maven.wagon:wagon-file:jar:1.0-beta-2:runtime
[INFO] | | +- org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.8:compile
[INFO] | | +- org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-beta-2:runtime
[INFO] | | | \- org.apache.maven.wagon:wagon-http-shared:jar:1.0-beta-2:runtime
[INFO] | | | \- jtidy:jtidy:jar:4aug2000r7-dev:runtime
[INFO] | | +- org.apache.maven:maven-profile:jar:2.0.8:compile
[INFO] | | +- org.apache.maven:maven-model:jar:2.0.8:compile
[INFO] | | +- org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:compile
[INFO] | | +- org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[INFO] | | +- org.apache.maven:maven-repository-metadata:jar:2.0.8:compile
[INFO] | | +- org.apache.maven:maven-error-diagnostics:jar:2.0.8:compile
[INFO] | | +- commons-cli:commons-cli:jar:1.0:compile
[INFO] | | +- org.apache.maven.wagon:wagon-ssh-external:jar:1.0-beta-2:runtime
[INFO] | | | \- org.apache.maven.wagon:wagon-ssh-common:jar:1.0-beta-2:runtime
[INFO] | | +- org.apache.maven:maven-plugin-descriptor:jar:2.0.8:compile
[INFO] | | +- org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[INFO] | | +- org.apache.maven:maven-artifact-manager:jar:2.0.8:compile
[INFO] | | +- org.apache.maven:maven-monitor:jar:2.0.8:compile
[INFO] | | +- org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-2:runtime
[INFO] | | | \- com.jcraft:jsch:jar:0.1.27:runtime
[INFO] | | \- classworlds:classworlds:jar:1.1:compile
[INFO] | +- org.apache.maven:maven-artifact:jar:2.0.8:compile
[INFO] | +- org.apache.maven:maven-plugin-api:jar:2.0.8:compile
[INFO] | +- org.apache.maven.reporting:maven-reporting-api:jar:2.0.8:compile
[INFO] | | \- org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-9:compile
[INFO] | +- org.apache.maven:maven-project:jar:2.0.8:compile
[INFO] | | \- org.apache.maven:maven-plugin-registry:jar:2.0.8:compile
[INFO] | +- org.apache.maven.reporting:maven-reporting-impl:jar:2.0.4.2:compile
[INFO] | | +- commons-validator:commons-validator:jar:1.2.0:compile
[INFO] | | | \- commons-digester:commons-digester:jar:1.6:compile
[INFO] | | +- org.apache.maven.doxia:doxia-core:jar:1.0:compile
[INFO] | | \- org.apache.maven.doxia:doxia-site-renderer:jar:1.0:compile
[INFO] | | +- org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile
[INFO] | | +- org.codehaus.plexus:plexus-velocity:jar:1.1.7:compile
[INFO] | | +- org.apache.velocity:velocity:jar:1.5:compile
[INFO] | | +- org.apache.maven.doxia:doxia-decoration-model:jar:1.0:compile
[INFO] | | +- org.apache.maven.doxia:doxia-module-apt:jar:1.0:compile
[INFO] | | +- org.apache.maven.doxia:doxia-module-fml:jar:1.0:compile
[INFO] | | +- org.apache.maven.doxia:doxia-module-xdoc:jar:1.0:compile
[INFO] | | \- org.apache.maven.doxia:doxia-module-xhtml:jar:1.0:compile
[INFO] | +- org.codehaus.plexus:plexus-utils:jar:2.0.2:compile
[INFO] | \- org.apache.maven.shared:maven-invoker:jar:2.0.11:compile
[INFO] +- org.osgi:org.osgi.core:jar:5.0.0:provided
[INFO] +- org.osgi:org.osgi.compendium:jar:5.0.0:provided
[INFO] +- junit:junit:jar:4.11:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.mockito:mockito-core:jar:1.10.19:test
[INFO] | \- org.objenesis:objenesis:jar:2.1:test
[INFO] +- org.powermock:powermock-module-junit4:jar:1.6.6:test
[INFO] | \- org.powermock:powermock-module-junit4-common:jar:1.6.6:test
[INFO] | +- org.powermock:powermock-core:jar:1.6.6:test
[INFO] | \- org.powermock:powermock-reflect:jar:1.6.6:test
[INFO] +- org.powermock:powermock-api-mockito:jar:1.6.6:test
[INFO] | \- org.powermock:powermock-api-mockito-common:jar:1.6.6:test
[INFO] | \- org.powermock:powermock-api-support:jar:1.6.6:test
[INFO] +- org.slf4j:slf4j-api:jar:1.7.21:provided
[INFO] +- org.apache.aries.blueprint:org.apache.aries.blueprint.annotation.api:jar:1.0.0:provided
[INFO] +- org.ops4j.pax.exam:pax-exam-junit4:jar:4.9.1:test
[INFO] | +- org.ops4j.pax.exam:pax-exam-spi:jar:4.9.1:test
[INFO] | | \- org.ops4j.pax.tinybundles:tinybundles:jar:2.1.1:test
[INFO] | | \- biz.aQute.bnd:bndlib:jar:2.4.0:test
[INFO] | \- org.ops4j.base:ops4j-base-lang:jar:1.5.0:test
[INFO] +- org.ops4j.pax.exam:pax-exam-container-karaf:jar:4.9.1:test
[INFO] | +- org.ops4j.pax.exam:pax-exam-container-remote:jar:4.9.1:test
[INFO] | | +- org.ops4j.pax.exam:pax-exam-container-rbc-client:jar:4.9.1:test
[INFO] | | | \- org.ops4j.pax.exam:pax-exam-container-rbc:jar:4.9.1:test
[INFO] | | +- org.ops4j.pax.swissbox:pax-swissbox-core:jar:1.8.2:test
[INFO] | | | \- org.ops4j.pax.swissbox:pax-swissbox-lifecycle:jar:1.8.2:test
[INFO] | | \- org.ops4j.base:ops4j-base-net:jar:1.5.0:test
[INFO] | +- org.apache.commons:commons-compress:jar:1.4.1:test
[INFO] | | \- org.tukaani:xz:jar:1.0:test
[INFO] | +- org.ops4j.pax.swissbox:pax-swissbox-framework:jar:1.8.2:test
[INFO] | | +- org.ops4j.pax.swissbox:pax-swissbox-tracker:jar:1.8.2:test
[INFO] | | +- org.ops4j.base:ops4j-base-exec:jar:1.5.0:test
[INFO] | | +- org.ops4j.base:ops4j-base-io:jar:1.5.0:test
[INFO] | | \- org.ops4j.base:ops4j-base-monitors:jar:1.5.0:test
[INFO] | \- org.ops4j.base:ops4j-base-spi:jar:1.5.0:test
[INFO] +- org.apache.karaf:apache-karaf:zip:4.0.7:compile
[INFO] | +- org.apache.karaf.features:framework:kar:4.0.7:compile
[INFO] | | +- org.apache.karaf.features:base:jar:4.0.7:runtime
[INFO] | | +- org.apache.karaf:org.apache.karaf.main:jar:4.0.7:runtime
[INFO] | | | +- org.apache.karaf:org.apache.karaf.util:jar:4.0.7:runtime
[INFO] | | | | \- org.apache.felix:org.apache.felix.utils:jar:1.8.2:runtime
[INFO] | | | +- net.java.dev.jna:jna:jar:4.2.2:runtime
[INFO] | | | \- net.java.dev.jna:jna-platform:jar:4.2.2:runtime
[INFO] | | +- org.apache.karaf:org.apache.karaf.exception:jar:4.0.7:runtime
[INFO] | | +- org.apache.karaf:org.apache.karaf.client:jar:4.0.7:runtime
[INFO] | | | \- org.apache.sshd:sshd-core:jar:0.14.0:runtime
[INFO] | | +- org.apache.karaf.jaas:org.apache.karaf.jaas.boot:jar:4.0.7:runtime
[INFO] | | +- org.apache.karaf.diagnostic:org.apache.karaf.diagnostic.boot:jar:4.0.7:runtime
[INFO] | | +- org.eclipse.tycho:org.eclipse.osgi:jar:3.10.101.v20150820-1432:runtime
[INFO] | | +- org.apache.felix:org.apache.felix.framework:jar:5.4.0:runtime
[INFO] | | +- jline:jline:jar:2.14.2:compile
[INFO] | | +- org.jledit:core:jar:0.2.1:compile
[INFO] | | +- org.ops4j.pax.logging:pax-logging-api:jar:1.8.5:compile
[INFO] | | +- org.ops4j.pax.logging:pax-logging-service:jar:1.8.5:compile
[INFO] | | +- org.ops4j.pax.url:pax-url-aether:jar:2.4.7:compile
[INFO] | | \- org.apache.karaf.features:org.apache.karaf.features.core:jar:4.0.7:compile
[INFO] | +- org.apache.karaf.features:framework:xml:features:4.0.7:runtime
[INFO] | +- org.apache.karaf.features:standard:xml:features:4.0.7:compile
[INFO] | +- org.apache.karaf.features:spring:xml:features:4.0.7:runtime
[INFO] | \- org.apache.karaf.features:enterprise:xml:features:4.0.7:runtime
[INFO] +- org.ops4j.pax.exam:pax-exam:jar:4.9.1:test
[INFO] | +- org.ops4j.base:ops4j-base-store:jar:1.5.0:test
[INFO] | \- org.ops4j.base:ops4j-base-util-property:jar:1.5.0:test
[INFO] +- org.apache.camel:camel-core:jar:2.17.0:provided
[INFO] | +- com.sun.xml.bind:jaxb-core:jar:2.2.11:provided
[INFO] | \- com.sun.xml.bind:jaxb-impl:jar:2.2.11:provided
[INFO] +- org.apache.camel:camel-blueprint:jar:2.17.0:provided
[INFO] | +- org.apache.camel:camel-core-xml:jar:2.17.0:provided
[INFO] | \- org.apache.camel:camel-core-osgi:jar:2.17.0:provided
[INFO] +- org.apache.camel:camel-jms:jar:2.17.0:provided
[INFO] | +- org.apache.camel:camel-spring:jar:2.17.0:provided
[INFO] | | +- org.springframework:spring-core:jar:4.2.5.RELEASE:provided
[INFO] | | +- org.springframework:spring-aop:jar:4.2.5.RELEASE:provided
[INFO] | | | \- aopalliance:aopalliance:jar:1.0:provided
[INFO] | | \- org.springframework:spring-expression:jar:4.2.5.RELEASE:provided
[INFO] | +- org.springframework:spring-jms:jar:4.2.5.RELEASE:provided
[INFO] | | \- org.springframework:spring-messaging:jar:4.2.5.RELEASE:provided
[INFO] | +- org.springframework:spring-context:jar:4.2.5.RELEASE:provided
[INFO] | +- org.springframework:spring-tx:jar:4.2.5.RELEASE:provided
[INFO] | \- org.springframework:spring-beans:jar:4.2.5.RELEASE:provided
[INFO] +- org.apache.camel:camel-jaxb:jar:2.17.0:provided
[INFO] +- org.apache.camel:camel-test:jar:2.17.0:test
[INFO] +- commons-logging:commons-logging:jar:1.2:provided
[INFO] +- commons-lang:commons-lang:jar:2.6:provided
[INFO] +- commons-io:commons-io:jar:2.4:provided
[INFO] +- org.apache.camel:camel-test-blueprint:jar:2.13.0:test
[INFO] | +- org.apache.aries.blueprint:org.apache.aries.blueprint:jar:1.1.0:test
[INFO] | +- org.apache.aries:org.apache.aries.util:jar:1.1.0:test
[INFO] | +- org.apache.aries.proxy:org.apache.aries.proxy.impl:jar:1.0.1:test
[INFO] | +- org.apache.aries.proxy:org.apache.aries.proxy.api:jar:1.0.0:test
[INFO] | +- com.googlecode.pojosr:de.kalpatec.pojosr.framework:jar:0.2.1:test
[INFO] | +- org.ops4j.pax.swissbox:pax-swissbox-tinybundles:jar:1.3.1:test
[INFO] | | \- org.ops4j.pax.swissbox:pax-swissbox-bnd:jar:1.3.1:test
[INFO] | | \- biz.aQute:bndlib:jar:0.0.357:test
[INFO] | +- org.apache.felix:org.apache.felix.configadmin:jar:1.4.0:compile
[INFO] | \- org.apache.felix:org.apache.felix.fileinstall:jar:3.2.6:compile
[INFO] +- org.apache.camel:camel-jackson:jar:2.17.0:provided
[INFO] | \- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.7.2:provided
[INFO] +- org.apache.camel:camel-jsonpath:jar:2.17.0:provided
[INFO] +- org.apache.camel:camel-jolt:jar:2.17.0:provided
[INFO] +- org.apache.camel:camel-quartz2:jar:2.17.0:provided
[INFO] | +- org.quartz-scheduler:quartz:jar:2.2.2:provided
[INFO] | | \- c3p0:c3p0:jar:0.9.1.1:provided
[INFO] | \- com.mchange:c3p0:jar:0.9.5.2:provided
[INFO] | \- com.mchange:mchange-commons-java:jar:0.2.11:provided
[INFO] +- org.apache.camel:camel-hazelcast:jar:2.17.0:provided
[INFO] | +- com.hazelcast:hazelcast:jar:3.6.2:provided
[INFO] | \- com.hazelcast:hazelcast-client:jar:3.6.2:provided
[INFO] +- com.jayway.jsonpath:json-path:jar:2.0.0:provided
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.8.3:provided
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.8.3:provided
[INFO] +- com.fasterxml.jackson.core:jackson-annotations:jar:2.8.3:provided
[INFO] +- com.bazaarvoice.jolt:jolt-core:jar:0.0.16:provided
[INFO] | \- javax.inject:javax.inject:jar:1:provided
[INFO] +- com.bazaarvoice.jolt:json-utils:jar:0.0.16:provided
[INFO] +- net.minidev:json-smart:jar:2.1.1:provided
[INFO] +- net.minidev:asm:jar:1.0.2:provided
[INFO] | \- asm:asm:jar:3.3.1:provided
[INFO] +- com.google.code.gson:gson:jar:2.8.0:provided
[INFO] +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] +- org.apache.maven.surefire:surefire-junit4:jar:2.19.1:test
[INFO] | \- org.apache.maven.surefire:surefire-api:jar:2.19.1:test
[INFO] +- org.apache.cxf:cxf-core:jar:3.1.8:provided
[INFO] | +- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.1:compile
[INFO] | | \- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
[INFO] | \- org.apache.ws.xmlschema:xmlschema-core:jar:2.2.1:compile
[INFO] +- org.apache.cxf:cxf-rt-rs-client:jar:3.1.8:provided
[INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:3.1.8:provided
[INFO] | \- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:3.1.8:provided
[INFO] | \- javax.annotation:javax.annotation-api:jar:1.2:provided
[INFO] +- org.jacoco:org.jacoco.agent:jar:runtime:0.7.8:test
[INFO] \- org.eclipse.jdt:org.eclipse.jdt.annotation:jar:2.1.0:compile
The following is an excerpt from the output of "mvn install" in the module, when it's running the unit test:
Running package.usl.fraudcheck.impl.InquireCPNIContactInformationProcessorTest
[org.jboss.logging] : Logging Provider: org.jboss.logging.Log4j2LoggerProvider Ignored FQCN: org.jboss.logging.Logger
[org.hibernate.validator.internal.util.Version] : HV000001: Hibernate Validator 5.4.1.Final Ignored FQCN: org.hibernate.validator.internal.util.logging.Log_$logger
[org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver] : Cannot find javax.persistence.Persistence on classpath. Assuming non JPA 2 environment. All properties will per default be traversable. Ignored FQCN: org.jboss.logging.DelegatingBasicLogger
[org.hibernate.validator.internal.xml.ValidationXmlParser] : Trying to load META-INF/validation.xml for XML based Validator configuration. Ignored FQCN: org.jboss.logging.DelegatingBasicLogger
[org.hibernate.validator.internal.xml.ResourceLoaderHelper] : Trying to load META-INF/validation.xml via TCCL Ignored FQCN: org.jboss.logging.DelegatingBasicLogger
[org.hibernate.validator.internal.xml.ResourceLoaderHelper] : Trying to load META-INF/validation.xml via Hibernate Validator's class loader Ignored FQCN: org.jboss.logging.DelegatingBasicLogger
[org.hibernate.validator.internal.xml.ValidationXmlParser] : No META-INF/validation.xml found. Using annotation based configuration only. Ignored FQCN: org.jboss.logging.DelegatingBasicLogger
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.67 sec <<< FAILURE! - in package.usl.fraudcheck.impl.InquireCPNIContactInformationProcessorTest
testValidate(package.usl.fraudcheck.impl.InquireCPNIContactInformationProcessorTest) Time elapsed: 0.219 sec <<< ERROR!
javax.validation.ValidationException: HV000183: Unable to initialize 'javax.el.ExpressionFactory'. Check that you have the EL dependencies on the classpath, or use ParameterMessageInterpolator instead
at package.usl.fraudcheck.impl.InquireCPNIContactInformationProcessorTest.testValidate(InquireCPNIContactInformationProcessorTest.java:23)
Caused by: java.lang.NoClassDefFoundError: javax/el/ExpressionFactory
at package.usl.fraudcheck.impl.InquireCPNIContactInformationProcessorTest.testValidate(InquireCPNIContactInformationProcessorTest.java:23)
I have had the same error even after adding a dependency to org.glassfish:javax.el:3.0.1-b08. The issue turned out to be transitive dependencies being pulled in that include javax.el.ExpressionFactory but have no implementation.
The following command will output all the dependencies that include javax.el.ExpressionFactory
for i in $(mvn dependency:build-classpath | grep '.m2' | tr ':' ' '); do
jar -tvf $i | grep 'javax/el/ExpressionFactory' && echo -e "\t$i"
done 2> /dev/null
I then used <exclusions> in my pom.xml to remove the jars that do not match org.glassfish:javax.el:3.0.1-b08.
The exclusions may end up removing code in the excluded Jars that is needed as well. In my case I had to find a replacement jar that provided an embedded Jetty Server.
So, you really need only one version of the el jar. And it should be:
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.el</artifactId>
<version>3.0.1-b08</version>
</dependency>
As for the other el jars, you need to exclude them from your dependencies. The dependency tree should help you as you are able to see where they come from.
Just use an exclusion on the dependencies transitively bringing the old el jars and be sure you don't reference it explicitly in your poms and it should work.
The other solution, as mentioned by the error message, is to use a message interpolator not using EL but I wouldn't recommend it as some built-in constraints use EL in their messages and you will probably need it for your own constraints.