I am attempting to use hibernate validators with SpringBoot and Tomcat and yet continue to get this error
No validator could be found for constraint 'javax.validation.constraints.NotBlank'
I tried adding the following to my maven pom.xml without luck
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>7.0.1.Final</version>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>jakarta.el</artifactId>
<version>4.0.0-RC2</version>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator-cdi</artifactId>
<version>7.0.1.Final</version>
</dependency>
<!-- https://mvnrepository.com/artifact/javax.validation/validation-api -->
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>2.0.1.Final</version>
</dependency>
It works locally when started by java so how can I fix this? I found this issue [HV000030: No validator could be found for constraint 'javax.validation.constraints.NotEmpty' validating type 'java.lang.String' but it didn't seem to fix my problems whenever I double checked that hibernate-validator was at version 7.
File causing issue can be seen here https://github.com/OntoloBridge/ontolobridge-project/blob/Authentication/src/main/java/edu/miami/schurer/ontolobridge/models/User.java
Here is my dependency Tree
[INFO] --- maven-dependency-plugin:3.0.2:tree (default-cli) #
ontologbridge ---
[INFO] edu.miami.schurer:ontologbridge:war:0.0.1-SNAPSHOT
[INFO] +- org.springframework.boot:spring-boot-starter:jar:2.0.5.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot:jar:2.0.5.RELEASE:compile
[INFO] | | \- org.springframework:spring-context:jar:5.0.9.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.0.5.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-logging:jar:2.0.5.RELEASE: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.springframework:spring-core:jar:5.0.9.RELEASE:compile
[INFO] | | \- org.springframework:spring-jcl:jar:5.0.9.RELEASE:compile
[INFO] | \- org.yaml:snakeyaml:jar:1.19:runtime
[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:2.0.5.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.0.5.RELEASE:compile
[INFO] | | +- org.springframework.boot:spring-boot-actuator:jar:2.0.5.RELEASE:compile
[INFO] | | \- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.6:compile
[INFO] | \- io.micrometer:micrometer-core:jar:1.0.6:compile
[INFO] | +- org.hdrhistogram:HdrHistogram:jar:2.1.10:compile
[INFO] | \- org.latencyutils:LatencyUtils:jar:2.0.3:compile
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.0.5.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-json:jar:2.0.5.RELEASE:compile
[INFO] | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.6:compile
[INFO] | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.6:compile
[INFO] | +- org.springframework:spring-web:jar:5.0.9.RELEASE:compile
[INFO] | | \- org.springframework:spring-beans:jar:5.0.9.RELEASE:compile
[INFO] | \- org.springframework:spring-webmvc:jar:5.0.9.RELEASE:compile
[INFO] | \- org.springframework:spring-expression:jar:5.0.9.RELEASE:compile
[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:2.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:5.0.9.RELEASE:compile
[INFO] | +- org.springframework.security:spring-security-config:jar:5.0.8.RELEASE:compile
[INFO] | | \- org.springframework.security:spring-security-core:jar:5.0.8.RELEASE:compile
[INFO] | \- org.springframework.security:spring-security-web:jar:5.0.8.RELEASE:compile
[INFO] +- org.postgresql:postgresql:jar:42.2.5:runtime
[INFO] +- io.jsonwebtoken:jjwt:jar:0.9.0:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-databind:jar:2.9.6:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
[INFO] +- mysql:mysql-connector-java:jar:8.0.20:compile
[INFO] | \- com.google.protobuf:protobuf-java:jar:3.6.1:compile
[INFO] +- org.apache.commons:commons-dbcp2:jar:2.1.1:compile
[INFO] | \- org.apache.commons:commons-pool2:jar:2.5.0:compile
[INFO] +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.0.5.RELEASE:provided
[INFO] | +- org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.34:provided
[INFO] | +- org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.34:provided
[INFO] | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.34:provided
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.0.5.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test:jar:2.0.5.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.0.5.RELEASE: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-test:jar:5.0.9.RELEASE:test
[INFO] | \- org.xmlunit:xmlunit-core:jar:2.5.1:test
[INFO] +- org.springframework.boot:spring-boot-starter-jdbc:jar:2.0.5.RELEASE:compile
[INFO] | +- com.zaxxer:HikariCP:jar:2.7.9:compile
[INFO] | \- org.springframework:spring-jdbc:jar:5.0.9.RELEASE:compile
[INFO] | \- org.springframework:spring-tx:jar:5.0.9.RELEASE:compile
[INFO] +- org.springframework.boot:spring-boot-configuration-processor:jar:2.0.5.RELEASE:compile (optional)
[INFO] +- it.ozimov:spring-boot-email-core:jar:0.6.3:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-mail:jar:2.0.5.RELEASE:compile
[INFO] | | +- org.springframework:spring-context-support:jar:5.0.9.RELEASE:compile
[INFO] | | \- com.sun.mail:javax.mail:jar:1.6.2:compile
[INFO] | | \- javax.activation:activation:jar:1.1:compile
[INFO] | +- org.apache.tika:tika-core:jar:1.14:compile
[INFO] | +- org.hibernate:hibernate-validator:jar:5.3.3.Final:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-data-redis:jar:2.0.5.RELEASE:compile
[INFO] | | +- org.springframework.data:spring-data-redis:jar:2.0.10.RELEASE:compile
[INFO] | | | +- org.springframework.data:spring-data-keyvalue:jar:2.0.10.RELEASE:compile
[INFO] | | | \- org.springframework:spring-oxm:jar:5.0.9.RELEASE:compile
[INFO] | | \- io.lettuce:lettuce-core:jar:5.0.5.RELEASE:compile
[INFO] | | +- io.projectreactor:reactor-core:jar:3.1.9.RELEASE:compile
[INFO] | | | \- org.reactivestreams:reactive-streams:jar:1.0.2:compile
[INFO] | | +- io.netty:netty-common:jar:4.1.29.Final:compile
[INFO] | | +- io.netty:netty-transport:jar:4.1.29.Final:compile
[INFO] | | | +- io.netty:netty-buffer:jar:4.1.29.Final:compile
[INFO] | | | \- io.netty:netty-resolver:jar:4.1.29.Final:compile
[INFO] | | \- io.netty:netty-handler:jar:4.1.29.Final:compile
[INFO] | | \- io.netty:netty-codec:jar:4.1.29.Final:compile
[INFO] | +- it.ozimov:embedded-redis:jar:0.7.0:compile
[INFO] | | \- commons-io:commons-io:jar:2.5:compile
[INFO] | +- org.owasp.encoder:encoder:jar:1.2.1:compile
[INFO] | \- com.google.guava:guava:jar:21.0:compile
[INFO] +- com.opencsv:opencsv:jar:4.1:compile
[INFO] | +- org.apache.commons:commons-lang3:jar:3.7:compile
[INFO] | +- org.apache.commons:commons-text:jar:1.1:compile
[INFO] | \- commons-beanutils:commons-beanutils:jar:1.9.3:compile
[INFO] | +- commons-logging:commons-logging:jar:1.2:compile
[INFO] | \- commons-collections:commons-collections:jar:3.2.2:compile
[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] | \- org.slf4j:slf4j-api:jar:1.7.25:compile
[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.fasterxml:classmate:jar:1.3.4: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] +- org.springframework.boot:spring-boot-starter-data-jpa:jar:2.0.5.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-aop:jar:2.0.5.RELEASE:compile
[INFO] | | \- org.aspectj:aspectjweaver:jar:1.8.13:compile
[INFO] | +- javax.transaction:javax.transaction-api:jar:1.2:compile
[INFO] | +- org.hibernate:hibernate-core:jar:5.2.17.Final:compile
[INFO] | | +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.2.Final:compile
[INFO] | | +- org.javassist:javassist:jar:3.22.0-GA:compile
[INFO] | | +- antlr:antlr:jar:2.7.7:compile
[INFO] | | +- org.jboss:jandex:jar:2.0.3.Final:compile
[INFO] | | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | | \- org.hibernate.common:hibernate-commons-annotations:jar:5.0.1.Final:compile
[INFO] | +- org.springframework.data:spring-data-jpa:jar:2.0.10.RELEASE:compile
[INFO] | | +- org.springframework.data:spring-data-commons:jar:2.0.10.RELEASE:compile
[INFO] | | \- org.springframework:spring-orm:jar:5.0.9.RELEASE:compile
[INFO] | \- org.springframework:spring-aspects:jar:5.0.9.RELEASE:compile
[INFO] +- io.sentry:sentry:jar:1.7.30:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.6:compile
[INFO] +- io.sentry:sentry-logback:jar:1.7.30:compile
[INFO] | +- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] | \- ch.qos.logback:logback-classic:jar:1.2.3: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.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] +- org.hibernate.validator:hibernate-validator:jar:7.0.1.Final:compile
[INFO] | +- jakarta.validation:jakarta.validation-api:jar:3.0.0:compile
[INFO] | \- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
[INFO] +- org.glassfish:jakarta.el:jar:4.0.0-RC2:compile
[INFO] | \- jakarta.el:jakarta.el-api:jar:4.0.0-RC2:compile
[INFO] +- org.hibernate.validator:hibernate-validator-cdi:jar:7.0.1.Final:compile
[INFO] \- javax.validation:validation-api:jar:2.0.1.Final:compile
The issue appears to have been the spring-boot-email-core
[INFO] +- it.ozimov:spring-boot-email-core:jar:0.6.3:compile
[INFO] | +- org.hibernate:hibernate-validator:jar:5.3.3.Final:compile
Adding the following to the dependency fixed it
<exclusions>
<exclusion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
</exclusion>
</exclusions>
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 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.
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 added htmlunit to my POM file using the website's suggested
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<version>2.22</version>
</dependency>
But I'm trying to create a webclient, like this:
WebClient webClient = new WebClient(BrowserVersion.BEST_SUPPORTED);
But it gives me this error:
BEST_SUPPORTED cannot be resolved or is not a field
So I just looked at the options, and it gives me these:
Which seem like they are coming from a much older version of HTMLUnit, because according tot he javadocs they have Firefox 45 and Microsoft Edge, etc... which I don't have as an option.
How do I get Maven in Eclipse to use the newer version of HTMLunit?
I've tried mvn install
mvn clean > mvn install
Right click the project in Eclipse > Maven > Update project.
This is from mvn dependency:tree
--- maven-dependency-plugin:2.8:tree (default-cli) # vaadin-app ---
[INFO] org.test:vaadin-app:war:1.0-SNAPSHOT
[INFO] +- com.vaadin.external.streamhtmlparser:streamhtmlparser-jsilver:jar:0.0.10.vaadin1:compile
[INFO] +- javax.servlet:javax.servlet-api:jar:3.0.1:provided
[INFO] +- org.apache.httpcomponents:httpmime:jar:4.5.2:compile
[INFO] | \- org.apache.httpcomponents:httpclient:jar:4.5.2:compile
[INFO] +- com.vaadin:vaadin-server:jar:7.6.7:compile
[INFO] | +- com.vaadin:vaadin-sass-compiler:jar:0.9.13:compile
[INFO] | | +- com.vaadin.external.flute:flute:jar:1.3.0.gg2:compile
[INFO] | | \- com.yahoo.platform.yui:yuicompressor:jar:2.4.8:compile
[INFO] | | \- rhino:js:jar:1.7R2:compile
[INFO] | +- com.vaadin:vaadin-shared:jar:7.6.7:compile
[INFO] | | \- com.vaadin.external.google:guava:jar:16.0.1.vaadin1:compile
[INFO] | \- org.jsoup:jsoup:jar:1.8.3:compile
[INFO] +- com.vaadin:vaadin-push:jar:7.6.7:compile
[INFO] | \- com.vaadin.external.atmosphere:atmosphere-runtime:jar:2.2.7.vaadin1:compile
[INFO] | \- com.vaadin.external.slf4j:vaadin-slf4j-jdk14:jar:1.6.1:compile
[INFO] +- com.vaadin:vaadin-client:jar:7.6.7:provided
[INFO] | +- org.w3c.css:sac:jar:1.3:compile
[INFO] | +- javax.validation:validation-api:jar:1.0.0.GA:provided
[INFO] | \- javax.validation:validation-api:jar:sources:1.0.0.GA:provided
[INFO] +- com.vaadin:vaadin-client-compiler:jar:7.6.7:provided
[INFO] | +- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] | +- commons-logging:commons-logging:jar:1.1.3:compile
[INFO] | +- ant:ant:jar:1.6.5:provided
[INFO] | +- net.sourceforge.cssparser:cssparser:jar:0.9.11:compile
[INFO] | +- ant:ant-launcher:jar:1.6.5:provided
[INFO] | +- org.ow2.asm:asm:jar:5.0.3:provided
[INFO] | +- org.ow2.asm:asm-util:jar:5.0.3:provided
[INFO] | | \- org.ow2.asm:asm-tree:jar:5.0.3:provided
[INFO] | +- org.ow2.asm:asm-commons:jar:5.0.3:provided
[INFO] | +- org.eclipse.jetty:jetty-annotations:jar:8.1.12.v20130726:provided
[INFO] | | +- org.eclipse.jetty:jetty-plus:jar:8.1.12.v20130726:provided
[INFO] | | | +- org.eclipse.jetty.orbit:javax.transaction:jar:1.1.1.v201105210645:provided
[INFO] | | | \- org.eclipse.jetty:jetty-jndi:jar:8.1.12.v20130726:provided
[INFO] | | | +- org.eclipse.jetty:jetty-server:jar:8.1.12.v20130726:provided
[INFO] | | | | \- org.eclipse.jetty.orbit:javax.servlet:jar:3.0.0.v201112011016:provided
[INFO] | | | \- org.eclipse.jetty.orbit:javax.mail.glassfish:jar:1.4.1.v201005082020:provided
[INFO] | | | \- org.eclipse.jetty.orbit:javax.activation:jar:1.1.0.v201105071233:provided
[INFO] | | +- org.eclipse.jetty:jetty-webapp:jar:8.1.12.v20130726:provided
[INFO] | | | +- org.eclipse.jetty:jetty-xml:jar:8.1.12.v20130726:provided
[INFO] | | | \- org.eclipse.jetty:jetty-servlet:jar:8.1.12.v20130726:provided
[INFO] | | | \- org.eclipse.jetty:jetty-security:jar:8.1.12.v20130726:provided
[INFO] | | +- org.eclipse.jetty.orbit:javax.annotation:jar:1.1.0.v201108011116:provided
[INFO] | | \- org.eclipse.jetty.orbit:org.objectweb.asm:jar:3.1.0.v200803061910:provided
[INFO] | +- org.eclipse.jetty:jetty-servlets:jar:8.1.12.v20130726:provided
[INFO] | | +- org.eclipse.jetty:jetty-continuation:jar:8.1.12.v20130726:provided
[INFO] | | \- org.eclipse.jetty:jetty-client:jar:8.1.12.v20130726:provided
[INFO] | | \- org.eclipse.jetty:jetty-http:jar:8.1.12.v20130726:provided
[INFO] | +- org.eclipse.jetty:jetty-util:jar:8.1.12.v20130726:compile
[INFO] | +- org.jdesktop:swing-worker:jar:1.1:provided
[INFO] | +- commons-codec:commons-codec:jar:1.8:compile
[INFO] | +- commons-io:commons-io:jar:2.4:compile
[INFO] | +- org.apache.commons:commons-lang3:jar:3.1:compile
[INFO] | +- org.apache.james:apache-mime4j:jar:0.6:provided
[INFO] | +- org.apache.httpcomponents:httpcore:jar:4.3:compile
[INFO] | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.19:provided
[INFO] | +- xalan:serializer:jar:2.7.1:compile
[INFO] | +- xerces:xercesImpl:jar:2.11.0:compile
[INFO] | +- xml-apis:xml-apis:jar:1.4.01:compile
[INFO] | +- com.ibm.icu:icu4j:jar:50.1.1:provided
[INFO] | \- com.vaadin:vaadin-client-compiler-deps:jar:1.2.0:provided
[INFO] +- com.vaadin:vaadin-themes:jar:7.6.7:compile
[INFO] +- net.sf.ucanaccess:ucanaccess:jar:3.0.6:compile
[INFO] | +- org.hsqldb:hsqldb:jar:2.3.1:compile
[INFO] | \- com.healthmarketscience.jackcess:jackcess:jar:2.1.3:compile
[INFO] | \- commons-lang:commons-lang:jar:2.6:compile
[INFO] +- net.sourceforge.htmlunit:htmlunit:jar:2.22:compile
[INFO] | +- xalan:xalan:jar:2.7.2:compile
[INFO] | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.22:compile
[INFO] | +- net.sourceforge.htmlunit:neko-htmlunit:jar:2.21:compile
[INFO] | \- org.eclipse.jetty.websocket:websocket-client:jar:9.2.17.v20160517:compile
[INFO] | +- org.eclipse.jetty:jetty-io:jar:9.2.17.v20160517:compile
[INFO] | \- org.eclipse.jetty.websocket:websocket-common:jar:9.2.17.v20160517:compile
[INFO] | \- org.eclipse.jetty.websocket:websocket-api:jar:9.2.17.v20160517:compile
[INFO] \- org.vaadin:viritin:jar:1.54:compile
[INFO] +- org.vaadin.addon:confirmdialog:jar:2.1.3:compile
[INFO] +- org.commonjava.googlecode.markdown4j:markdown4j:jar:2.2-cj-1.1:compile
[INFO] +- commons-beanutils:commons-beanutils:jar:1.9.2:compile
[INFO] \- javax.el:javax.el-api:jar:2.2.4:compile
Try to delete your local repo directory for htmlunit and then try update project.
I don't directly use Apache CXF in my code. I didn't even have it as a dependency. Now when upgrading to WebLogic 12c I get this exception. I previously got some other errors related to extracting a soap message body, which I got around after adding the saaj dependencies below.
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-bundle-jaxrs</artifactId>
<version>${cxf-version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-api</artifactId>
<version>${cxf-version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${cxf-version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-ws-policy</artifactId>
<version>${cxf-version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.messaging.saaj</groupId>
<artifactId>saaj-impl</artifactId>
<version>1.3.15</version>
</dependency>
<dependency>
<groupId>javax.xml.soap</groupId>
<artifactId>saaj-api</artifactId>
<version>1.3.5</version>
</dependency>
Error:
java.lang.NoClassDefFoundError: org/apache/cxf/jaxrs/impl/UriBuilderImpl
at org.apache.cxf.jaxrs.impl.RuntimeDelegateImpl.createUriBuilder(RuntimeDelegateImpl.java:89)
at javax.ws.rs.core.UriBuilder.newInstance(UriBuilder.java:69)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:80)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:99)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:649)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
>
Dependency tree:
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) # myapp1 ---
[INFO] mypackage.myapp:myapp1:war:4.4.1.158-SNAPSHOT
[INFO] +- mypackage.integration:integration-bpm:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | +- mypackage.integration:integration-http:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | | \- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.7.7:compile
[INFO] | | \- org.apache.cxf:cxf-rt-bindings-xml:jar:2.7.7:compile
[INFO] | +- xalan:xalan:jar:2.7.1:compile
[INFO] | | \- xalan:serializer:jar:2.7.1:compile
[INFO] | +- xerces:xercesImpl:jar:2.9.0:provided
[INFO] | +- org.hibernate:hibernate-core:jar:3.6.10.Final:compile
[INFO] | | +- antlr:antlr:jar:2.7.6:compile
[INFO] | | +- commons-collections:commons-collections:jar:3.1:compile
[INFO] | | +- org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final:compile
[INFO] | | +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0.Final:compile
[INFO] | | \- javax.transaction:jta:jar:1.1:compile
[INFO] | +- org.hibernate:hibernate-entitymanager:jar:3.6.10.Final:compile
[INFO] | | \- javassist:javassist:jar:3.12.0.GA:compile
[INFO] | \- org.apache.commons:commons-lang3:jar:3.1:compile
[INFO] +- mypackage.integration:integration-core:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | +- org.springframework:spring-web:jar:3.0.5.RELEASE:compile
[INFO] | +- org.safehaus.jug:jug:jar:asl:2.0.0:compile
[INFO] | +- net.sf.dozer:dozer:jar:5.3.2:compile
[INFO] | | +- commons-beanutils:commons-beanutils:jar:1.8.3:compile
[INFO] | | \- commons-lang:commons-lang:jar:2.5:compile
[INFO] | +- net.sf.json-lib:json-lib:jar:jdk15:2.3:compile
[INFO] | | \- net.sf.ezmorph:ezmorph:jar:1.0.6:compile
[INFO] | +- xom:xom:jar:1.1:compile
[INFO] | | +- xerces:xmlParserAPIs:jar:2.6.2:provided
[INFO] | | \- jaxen:jaxen:jar:1.1.1:compile
[INFO] | +- org.aspectj:aspectjtools:jar:1.5.4:compile
[INFO] | +- cglib:cglib:jar:2.2.2:compile
[INFO] | +- gov.hhs.healthit.nhin.connect:common-types:jar:2.4:compile
[INFO] | +- commons-codec:commons-codec:jar:1.6:compile
[INFO] | \- commons-io:commons-io:jar:2.0.1:compile
[INFO] +- mypackage.integration:integration-test:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | +- xmlunit:xmlunit:jar:1.3:test
[INFO] | \- eviware:maven-soapui-plugin:jar:4.5.1:test
[INFO] | +- org.apache.maven:maven-plugin-api:jar:2.0:test
[INFO] | +- eviware:soapui:jar:4.5.1:test
[INFO] | +- javax.activation:activation:jar:1.1:compile
[INFO] | +- javax.mail:mail:jar:1.4:compile
[INFO] | +- commons-ssl:not-yet-commons-ssl:jar:0.3.11:test
[INFO] | +- commons-cli:commons-cli:jar:1.0:test
[INFO] | +- json:json-lib:jar:2.2.2-jdk15:test
[INFO] | +- ezmorph:ezmorph:jar:1.0.5:test
[INFO] | +- swingx:swingx:jar:soapui:test
[INFO] | +- groovy:groovy-all:jar:1.8.0:test
[INFO] | +- rhino:js:jar:1.7R2:test
[INFO] | +- jetty:jetty:jar:6.1.26:test
[INFO] | +- jetty:jetty-util:jar:6.1.26:test
[INFO] | +- jetty:servlet-api:jar:2.5-20081211:test
[INFO] | +- net-components:netcomponents:jar:1.3.8a:test
[INFO] | +- xmlbeans:xbean:jar:fixed-2.4.0:test
[INFO] | +- xmlbeans:xbean_xpath:jar:2.4.0:test
[INFO] | +- xmlbeans:xmlpublic:jar:2.4.0:test
[INFO] | +- xmlbeans:jsr173:jar:xmlbeans-2.4.0:test
[INFO] | +- eviware:soapui-xmlbeans:jar:4.5.1:test
[INFO] | +- eviware:policy-xmlbeans:jar:1.5:test
[INFO] | +- eviware:soap-xmlbeans:jar:1.2:test
[INFO] | +- eviware:wadl-xmlbeans:jar:1.1:test
[INFO] | +- eviware:j2ee-xmlbeans:jar:1.4:test
[INFO] | +- eviware:ext-xmlbeans:jar:1.2:test
[INFO] | +- saxon:saxon:jar:9.1.0.8j:test
[INFO] | +- saxon:saxon-dom:jar:9.1.0.8j:test
[INFO] | +- xml-security:xmlsec:jar:1.4.3:test
[INFO] | +- opensaml:opensaml:jar:1.1:test
[INFO] | +- wss4j:wss4j:jar:1.5.8:test
[INFO] | +- bouncycastle:bcprov-jdk15:jar:144:test
[INFO] | +- jtidy:jtidy:jar:r872-jdk15:test
[INFO] | +- javax.jms:jms:jar:1.1:test
[INFO] | +- hermesjms:hermes:jar:1.14:test
[INFO] | +- amf:flex-messaging-common:jar:1.0:test
[INFO] | +- amf:flex-messaging-core:jar:1.0:test
[INFO] | +- amf:flex-messaging-opt:jar:1.0:test
[INFO] | +- amf:flex-messaging-proxy:jar:1.0:test
[INFO] | +- amf:flex-messaging-remoting:jar:1.0:test
[INFO] | +- thoughtworks:xstream:jar:1.3.1:test
[INFO] | +- net.sourceforge.htmlunit:htmlunit:jar:2.7:test
[INFO] | | \- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] | +- org.w3c.css:sac:jar:1.3:test
[INFO] | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.7:test
[INFO] | +- net.sourceforge.cssparser:cssparser:jar:0.9.5:test
[INFO] | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.14:test
[INFO] | +- fife:rsyntaxtextarea:jar:1.3.4:test
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.1.1:test
[INFO] | +- org.apache.httpcomponents:httpmime:jar:4.1.1:test
[INFO] | +- org.apache.httpcomponents:httpclient-cache:jar:4.1.1:test
[INFO] | +- org.apache.httpcomponents:httpcore:jar:4.1.1:test
[INFO] | +- org.apache.httpcomponents:httpcore-nio:jar:4.1.1:test
[INFO] | \- org.samba.jcifs:jcifs:jar:1.2.9:test
[INFO] +- mypackage.myapp:myapp_common:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | +- mypackage.integration:integration-jms:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | | \- ca.uhn.hapi:hapi-base:jar:0.6:compile
[INFO] | \- mypackage.integration:integration-feed:jar:4.4.1.158-SNAPSHOT:compile
[INFO] +- mypackage.myapp:myapp_mock:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | +- mypackage.integration:integration-hl7:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | +- mypackage.myapp:myapp_bindings:jar:4.4.1.158-SNAPSHOT:compile
[INFO] | \- mypackage.myapp:myapp_audit:jar:4.4.1.158-SNAPSHOT:compile
[INFO] +- org.springframework:spring-core:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-asm:jar:3.0.5.RELEASE:compile
[INFO] | \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] +- org.springframework:spring-expression:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-aop:jar:3.0.5.RELEASE:compile
[INFO] | \- aopalliance:aopalliance:jar:1.0:compile
[INFO] +- org.springframework:spring-context:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-tx:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-orm:jar:3.0.5.RELEASE:compile
[INFO] | \- org.springframework:spring-jdbc:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-jms:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-context-support:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-core:jar:3.1.0.RC2:compile
[INFO] +- org.springframework.ws:spring-ws:jar:2.0.0-M1:compile
[INFO] +- org.springframework:spring-oxm:jar:3.0.5.RELEASE:compile
[INFO] +- com.sun.jersey:jersey-server:jar:1.8:compile
[INFO] | +- asm:asm:jar:3.3.1:compile
[INFO] | \- com.sun.jersey:jersey-core:jar:1.8:compile
[INFO] +- com.sun.jersey:jersey-client:jar:1.8:compile
[INFO] +- com.sun.jersey:jersey-json:jar:1.8:compile
[INFO] | +- org.codehaus.jettison:jettison:jar:1.1:compile
[INFO] | | \- stax:stax-api:jar:1.0.1:compile
[INFO] | +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
[INFO] | | \- javax.xml.bind:jaxb-api:jar:2.2.2:compile
[INFO] | | \- javax.xml.stream:stax-api:jar:1.0-2:compile
[INFO] | +- org.codehaus.jackson:jackson-core-asl:jar:1.7.1:compile
[INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.7.1:compile
[INFO] | +- org.codehaus.jackson:jackson-jaxrs:jar:1.7.1:compile
[INFO] | \- org.codehaus.jackson:jackson-xc:jar:1.7.1:compile
[INFO] +- com.sun.jersey.contribs:jersey-atom-abdera:jar:1.8:compile
[INFO] | +- org.apache.abdera:abdera-parser:jar:1.0:compile
[INFO] | | +- org.apache.abdera:abdera-core:jar:1.0:compile
[INFO] | | | +- org.apache.abdera:abdera-i18n:jar:1.0:compile
[INFO] | | | \- org.apache.geronimo.specs:geronimo-activation_1.0.2_spec:jar:1.1:compile
[INFO] | | +- org.apache.ws.commons.axiom:axiom-impl:jar:1.2.5:compile
[INFO] | | | \- org.apache.ws.commons.axiom:axiom-api:jar:1.2.5:compile
[INFO] | | +- org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile
[INFO] | | \- org.codehaus.woodstox:wstx-asl:jar:3.2.6:runtime
[INFO] | \- org.apache.abdera:abdera-extensions-json:jar:1.0:compile
[INFO] | +- org.apache.abdera:abdera-server:jar:1.0:compile
[INFO] | | \- javax.servlet:servlet-api:jar:2.4:compile
[INFO] | +- org.apache.abdera:abdera-extensions-main:jar:1.0:compile
[INFO] | | \- org.apache.abdera:abdera-client:jar:1.0:compile
[INFO] | \- org.apache.abdera:abdera-extensions-html:jar:1.0:compile
[INFO] | \- nu.validator.htmlparser:htmlparser:jar:1.0.5:compile
[INFO] +- com.sun.jersey:jersey-atom:jar:1.8:compile
[INFO] | +- rome:rome:jar:0.9:compile
[INFO] | \- jdom:jdom:jar:1.0:compile
[INFO] +- com.sun.jersey.contribs:jersey-multipart:jar:1.8:compile
[INFO] | \- org.jvnet:mimepull:jar:1.4:compile
[INFO] +- com.sun.jersey.contribs:jersey-spring:jar:1.8:compile
[INFO] +- com.sun.jersey.contribs:jersey-guice:jar:1.8:compile
[INFO] | +- javax.inject:javax.inject:jar:1:compile
[INFO] | +- com.google.inject:guice:jar:3.0:compile
[INFO] | \- com.google.inject.extensions:guice-servlet:jar:3.0:compile
[INFO] +- net.sf.saxon:saxon:jar:9.1.0.8:compile
[INFO] +- net.sf.saxon:saxon-dom:jar:9.1.0.8:compile
[INFO] +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | \- xml-apis:xml-apis:jar:1.0.b2:provided
[INFO] +- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] +- org.slf4j:com.springsource.slf4j.org.apache.commons.logging:jar:1.6.1:runtime
[INFO] +- org.slf4j:com.springsource.slf4j.log4j:jar:1.6.1:runtime
[INFO] +- log4j:log4j:jar:1.2.16:compile
[INFO] +- org.eclipse.jetty:jetty-server:jar:7.6.13.v20130916:test
[INFO] | +- org.eclipse.jetty.orbit:javax.servlet:jar:2.5.0.v201103041518:test
[INFO] | +- org.eclipse.jetty:jetty-continuation:jar:7.6.13.v20130916:compile
[INFO] | \- org.eclipse.jetty:jetty-http:jar:7.6.13.v20130916:compile
[INFO] +- org.apache.cxf:cxf-bundle-jaxrs:jar:2.7.7:compile
[INFO] | +- org.codehaus.woodstox:woodstox-core-asl:jar:4.2.0:compile
[INFO] | +- org.codehaus.woodstox:stax2-api:jar:3.1.1:compile
[INFO] | +- org.apache.ws.xmlschema:xmlschema-core:jar:2.0.3:compile
[INFO] | +- org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.7.1:compile
[INFO] | +- wsdl4j:wsdl4j:jar:1.6.3:compile
[INFO] | +- org.eclipse.jetty:jetty-io:jar:8.1.12.v20130726:compile
[INFO] | +- org.eclipse.jetty:jetty-util:jar:8.1.12.v20130726:compile
[INFO] | +- org.eclipse.jetty:jetty-security:jar:8.1.12.v20130726:compile
[INFO] | +- org.apache.geronimo.specs:geronimo-servlet_3.0_spec:jar:1.0:compile
[INFO] | \- javax.ws.rs:javax.ws.rs-api:jar:2.0-m10:compile
[INFO] +- org.apache.cxf:cxf-api:jar:2.7.7:compile
[INFO] +- org.apache.cxf:cxf-rt-transports-http:jar:2.7.7:compile
[INFO] | \- org.apache.cxf:cxf-rt-core:jar:2.7.7:compile
[INFO] +- org.apache.cxf:cxf-rt-ws-policy:jar:2.7.7:compile
[INFO] | \- org.apache.neethi:neethi:jar:3.0.2:compile
[INFO] +- com.sun.xml.messaging.saaj:saaj-impl:jar:1.3.15:compile
[INFO] | \- org.jvnet.mimepull:mimepull:jar:1.7:compile
[INFO] +- javax.xml.soap:saaj-api:jar:1.3.5:compile
[INFO] +- junit:junit:jar:4.8.2:test
[INFO] +- com.oracle:ojdbc6:jar:11.1.0.6.0:test
[INFO] \- org.springframework:spring-test:jar:3.0.5.RELEASE:test
I ended up fixing this by following some suggestions from:
https://issues.apache.org/jira/browse/CXF-4232
and
http://salzotech.blogspot.com/2014/02/noclassdeffounderror.html
Specifically, I added this to the start of my Jersey ServletContextListener:
#Override
public void contextInitialized(final ServletContextEvent sce) {
//Fix this issue in WebLogic 12c:
//http://salzotech.blogspot.com/2014/02/noclassdeffounderror.html
RuntimeDelegate.setInstance(new com.sun.jersey.server.impl.provider.RuntimeDelegateImpl());
I'm not sure if I had to do everything after this, but here are the other things I did:
Added this to my weblogic.xml:
<prefer-application-packages>
<package-name>com.sun.jersey.*</package-name>
<package-name>org.apache.*</package-name>
<package-name>antlr.*</package-name>
<package-name>javax.ws.rs.*</package-name>
</prefer-application-packages>
Added this to my pom file (used the latest version of Jersey. This older CXF version still worked for me):
<properties>
<cxf-version>2.7.7</cxf-version>
<com.sun.jersey.version>1.18.1</com.sun.jersey.version>
...
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.0.1</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-bundle-jaxrs</artifactId>
<version>${cxf-version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-api</artifactId>
<version>${cxf-version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${cxf-version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-ws-policy</artifactId>
<version>${cxf-version}</version>
</dependency>