Using same artifact in different projects, different transitive dependencies - java

I'm using the same artifact in two different projects, however I'm getting different versions of jersey dependencies that are causing me issues. How is it possible that a single artifact in the same versions contains different transitive dependencies in each project?
Project A:
\- com.csg.rdx.base.orc:rdx-client:jar:1.0.0_0_1:compile
+- com.csg.rdx.base.public:javautils-micro:jar:1.0.0_0_1:compile
| +- org.codehaus.plexus:plexus-classworlds:jar:2.5.2:compile
| +- com.yammer.metrics:metrics-core:jar:2.2.0:compile
| | \- org.slf4j:slf4j-api:jar:1.7.26:compile
| +- com.csg.rdx.rdlall:rdl-java-runtime:jar:1.0.1_0_1:compile
| | +- org.antlr:antlr-runtime:jar:3.5.2:compile
| | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
| | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
| | \- commons-io:commons-io:jar:2.4:compile
| +- com.csg.rdx.build:rdx-javautils-nano:jar:1.0.2_0_1:compile
| +- com.csg.rdx.build:rdx-build-utils:jar:1.0.2_0_1:compile
| \- log4j:log4j:jar:1.2.17:compile
+- com.csg.rdx.base.public:pki-rest-client:jar:1.0.0_0_1:compile
| +- com.csg.rdx.base.public:pki-rest-client-micro:jar:1.0.0_0_1:compile
| | +- org.glassfish.jersey.core:jersey-client:jar:2.17:compile
| | | +- org.glassfish.hk2:hk2-api:jar:2.4.0-b10:compile
| | | | +- org.glassfish.hk2:hk2-utils:jar:2.4.0-b10:compile
| | | | \- org.glassfish.hk2.external:aopalliance-repackaged:jar:2.4.0-b10:compile
| | | +- org.glassfish.hk2.external:javax.inject:jar:2.4.0-b10:compile
| | | \- org.glassfish.hk2:hk2-locator:jar:2.4.0-b10:compile
| | | \- org.javassist:javassist:jar:3.18.1-GA:compile
| | +- com.csg.rdx.base.public:pki-wrapper:jar:1.0.0_0_1:compile
| | | +- com.csg.rdx.base.public:pki-wrapper-micro:jar:1.0.0_0_1:compile
| | | | +- org.slf4j:slf4j-log4j12:jar:1.7.26:compile
| | | | \- commons-logging:commons-logging-api:jar:1.1:runtime
| | | +- au.com.bytecode:opencsv:jar:2.4:compile
| | | +- org.apache.commons:commons-vfs2:jar:2.6.0:compile
| | | | \- org.apache.hadoop:hadoop-hdfs-client:jar:3.2.1:compile
| | | | +- com.squareup.okhttp:okhttp:jar:2.7.5:compile
| | | | | \- com.squareup.okio:okio:jar:1.6.0:compile
| | | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.9:compile
| | | | \- com.fasterxml.jackson.core:jackson-databind:jar:2.9.9:compile
| | | | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.9:compile
| | | \- com.csg.cs.aura.dis.agl:LarcsAdapter:jar:2.4.3:compile
| | +- com.csg.rdx.base.public:pki-wrapper-binder:jar:1.0.0_0_1:compile
| | | +- com.csg.rdx.base.public:pki-wrapper-binder-pki-framework:jar:1.0.0_0_1:compile
| | | +- com.csg.cs.tip.pki:keyonOCSPClient:jar:6.0.4:runtime
| | | +- ch.keyon:jacapi-ase:jar:2.1:compile
| | | \- ch.keyon:jacapi-interoperability:jar:2.1.1:compile
| | \- com.google.guava:guava:jar:16.0:compile
| +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.17:compile
| +- org.glassfish.jersey.connectors:jersey-apache-connector:jar:2.17:compile
| | \- org.glassfish.jersey.core:jersey-common:jar:2.17:compile
| | +- javax.annotation:javax.annotation-api:jar:1.2:compile
| | \- org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:compile
| \- org.glassfish.jersey.connectors:jersey-jetty-connector:jar:2.17:compile
| \- org.eclipse.jetty:jetty-client:jar:9.1.1.v20140108:compile
| +- org.eclipse.jetty:jetty-http:jar:9.1.1.v20140108:compile
| | \- org.eclipse.jetty:jetty-util:jar:9.1.1.v20140108:compile
| \- org.eclipse.jetty:jetty-io:jar:9.1.1.v20140108:compile
+- org.apache.httpcomponents:httpclient:jar:4.5.9:compile
| +- org.apache.httpcomponents:httpcore:jar:4.4.11:compile
| +- commons-logging:commons-logging:jar:1.2:compile
| \- commons-codec:commons-codec:jar:1.11:compile
+- org.apache.httpcomponents:httpmime:jar:4.3.2:compile
+- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:compile
+- com.csg.rdx.base.orc:rdx-rdl:jar:1.0.0_0_1:compile
| +- com.csg.rdx.rdlp.internal:RDx.Calc.Legacy-java:jar:1.0.1745:compile
| | \- com.csg.rdx.rdlcore:rdl-java-runtime:jar:1.0.91714:compile
| +- com.csg.rdx.rdlp.internal:RDx.Calc.Private-java:jar:1.0.1810:compile
| +- com.csg.rdx.rdlp.internal:RDx.Calc.Public-java:jar:1.0.1770:compile
| +- com.csg.rdx.rdlp.internal:RDx.DLF-java:jar:1.0.1747:compile
| +- com.csg.rdx.rdlp.internal:RDx.Interfaces-java:jar:1.0.1735:compile
| +- com.csg.rdx.rdlp.internal:RDx.RDF.Private-java:jar:1.0.1753:compile
| +- com.csg.rdx.rdlp.internal:RDx.RDF.Public-java:jar:1.0.1739:compile
| +- com.csg.rdx.rdlp.internal:RDx.RDF.Security-java:jar:1.0.1746:compile
| \- com.csg.rdx.rdlp.internal:RDx.RDL.Language-java:jar:1.0.1735:compile
+- com.csg.rdx.base.orc:rdx-client-interfaces:jar:1.0.0_0_1:compile
\- com.csg.rdx.base.orc:rdx-common-micro:jar:1.0.0_0_1:compile
\- org.javatuples:javatuples:jar:1.2:compile
As you can see, all jersey libraries are in 2.17 version.
Project B:
+- com.csg.rdx.base.orc:rdx-client:jar:1.0.0_0_1:compile
| +- com.csg.rdx.base.public:javautils-micro:jar:1.0.2_0_1:compile
| | +- org.codehaus.plexus:plexus-classworlds:jar:2.5.2:compile
| | +- com.yammer.metrics:metrics-core:jar:2.2.0:compile
| | | \- org.slf4j:slf4j-api:jar:1.7.30:compile
| | +- com.csg.rdx.rdlall:rdl-java-runtime:jar:1.0.1_0_1:compile
| | | +- org.antlr:antlr-runtime:jar:3.5.2:compile
| | | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
| | | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
| | | \- commons-io:commons-io:jar:2.4:compile
| | +- com.csg.rdx.build:rdx-javautils-nano:jar:1.0.2_0_1:compile
| | +- com.csg.rdx.build:rdx-build-utils:jar:1.0.2_0_1:compile
| | \- log4j:log4j:jar:1.2.17:compile
| +- com.csg.rdx.base.public:pki-rest-client:jar:1.0.0_0_1:compile
| | +- com.csg.rdx.base.public:pki-rest-client-micro:jar:1.0.0_0_1:compile
| | | +- org.glassfish.jersey.core:jersey-client:jar:2.29.1:compile
| | | | \- org.glassfish.hk2.external:jakarta.inject:jar:2.6.1:compile
| | | +- com.csg.rdx.base.public:pki-wrapper:jar:1.0.0_0_1:compile
| | | | +- com.csg.rdx.base.public:pki-wrapper-micro:jar:1.0.0_0_1:compile
| | | | | +- org.slf4j:slf4j-log4j12:jar:1.7.30:compile
| | | | | \- commons-logging:commons-logging-api:jar:1.1:runtime
| | | | +- au.com.bytecode:opencsv:jar:2.4:compile
| | | | +- org.apache.commons:commons-vfs2:jar:2.1:compile
| | | | \- com.csg.cs.aura.dis.agl:LarcsAdapter:jar:2.4.3:compile
| | | +- com.csg.rdx.base.public:pki-wrapper-binder:jar:1.0.0_0_1:compile
| | | | +- com.csg.rdx.base.public:pki-wrapper-binder-pki-framework:jar:1.0.0_0_1:compile
| | | | +- com.csg.cs.tip.pki:keyonOCSPClient:jar:6.0.4:runtime
| | | | +- ch.keyon:jacapi-ase:jar:2.1:compile
| | | | \- ch.keyon:jacapi-interoperability:jar:2.1.1:compile
| | | \- com.google.guava:guava:jar:16.0:compile
| | +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.17:compile
| | +- org.glassfish.jersey.connectors:jersey-apache-connector:jar:2.29.1:compile
| | | +- org.glassfish.jersey.core:jersey-common:jar:2.29.1:compile
| | | | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
| | | | \- org.glassfish.hk2:osgi-resource-locator:jar:1.0.3:compile
| | | \- jakarta.ws.rs:jakarta.ws.rs-api:jar:2.1.6:compile
| | \- org.glassfish.jersey.connectors:jersey-jetty-connector:jar:2.29.1:compile
| | \- org.eclipse.jetty:jetty-client:jar:9.4.27.v20200227:compile
| | +- org.eclipse.jetty:jetty-http:jar:9.4.27.v20200227:compile
| | | \- org.eclipse.jetty:jetty-util:jar:9.4.27.v20200227:compile
| | \- org.eclipse.jetty:jetty-io:jar:9.4.27.v20200227:compile
| +- org.apache.httpcomponents:httpclient:jar:4.5.12:compile
| | +- org.apache.httpcomponents:httpcore:jar:4.4.13:compile
| | +- commons-logging:commons-logging:jar:1.2:compile
| | \- commons-codec:commons-codec:jar:1.13:compile
| +- org.apache.httpcomponents:httpmime:jar:4.5.12:compile
| +- javax.ws.rs:javax.ws.rs-api:jar:2.1.1:compile
| +- com.csg.rdx.base.orc:rdx-rdl:jar:1.0.0_0_1:compile
| | +- com.csg.rdx.rdlp.internal:RDx.Calc.Legacy-java:jar:1.0.1745:compile
| | | \- com.csg.rdx.rdlcore:rdl-java-runtime:jar:1.0.91714:compile
| | +- com.csg.rdx.rdlp.internal:RDx.Calc.Private-java:jar:1.0.1810:compile
| | +- com.csg.rdx.rdlp.internal:RDx.Calc.Public-java:jar:1.0.1770:compile
| | +- com.csg.rdx.rdlp.internal:RDx.DLF-java:jar:1.0.1747:compile
| | +- com.csg.rdx.rdlp.internal:RDx.Interfaces-java:jar:1.0.1735:compile
| | +- com.csg.rdx.rdlp.internal:RDx.RDF.Private-java:jar:1.0.1753:compile
| | +- com.csg.rdx.rdlp.internal:RDx.RDF.Public-java:jar:1.0.1739:compile
| | +- com.csg.rdx.rdlp.internal:RDx.RDF.Security-java:jar:1.0.1746:compile
| | \- com.csg.rdx.rdlp.internal:RDx.RDL.Language-java:jar:1.0.1735:compile
| +- com.csg.rdx.base.orc:rdx-client-interfaces:jar:1.0.0_0_1:compile
| \- com.csg.rdx.base.orc:rdx-common-micro:jar:1.0.0_0_1:compile
| \- org.javatuples:javatuples:jar:1.2:compile
Now, in this project, all jersey libraries are in version 2.29 and that is causing me problems. Any idea how is that possible?
Dependency com.csg.rdx.base.orc:rdx-client:1.0.0_0_1 is the only one in both projects. It'defined in the dependencyManagement section of parent projects.
Unfortunately, due to company policy I cannot post entire poms/projects.

Related

Spring Boot Azure CosmosDB NoClassDefFoundError: Could not initialize class com.azure.data.cosmos.internal.directconnectivity.rntbd.RntbdConstants

I am trying to configure Azure CosmosDB in my Spring project, but I'm getting
the following stack trace:
2020-03-28 13:02:09.192 INFO 19585 --- [ main] c.a.d.c.internal.RxDocumentClientImpl : Initializing DocumentClient with serviceEndpoint [https://***.documents.azure.com:443/], connectionPolicy [ConnectionPolicy{requestTimeoutInMillis=60000, mediaRequestTimeoutInMillis=300000, connectionMode=DIRECT, maxPoolSize=1000, idleConnectionTimeoutInMillis=60000, userAgentSuffix=';spring-data/2.2.3;', retryOptions=RetryOptions{maxRetryAttemptsOnThrottledRequests=9, maxRetryWaitTimeInSeconds=30}, enableEndpointDiscovery=true, preferredLocations=null, usingMultipleWriteLocations=false, inetSocketProxyAddress=null}], consistencyLevel [null], directModeProtocol [Tcp]
2020-03-28 13:02:09.405 INFO 19585 --- [ parallel-1] c.a.d.c.internal.RxDocumentClientImpl : Getting database account endpoint from https://***.documents.azure.com:443/
2020-03-28 13:02:12.881 WARN 19585 --- [s-rntbd-nio-2-4] c.a.d.c.i.d.r.RntbdClientChannelPool : Channel([id: 0x1fd9aa13, L:/192.168.14.122:58535 - R:cdb-ms-prod-westus2-fd19.documents.azure.com/40.78.243.194:11004]) health check request failed due to:
java.lang.NoClassDefFoundError: Could not initialize class com.azure.data.cosmos.internal.directconnectivity.rntbd.RntbdConstants$RntbdContextRequestHeader
at com.azure.data.cosmos.internal.directconnectivity.rntbd.RntbdContextRequest$Headers.<init>(RntbdContextRequest.java:126)
at com.azure.data.cosmos.internal.directconnectivity.rntbd.RntbdContextRequest$Headers.<init>(RntbdContextRequest.java:118)
at com.azure.data.cosmos.internal.directconnectivity.rntbd.RntbdContextRequest.<init>(RntbdContextRequest.java:33)
at com.azure.data.cosmos.internal.directconnectivity.rntbd.RntbdContextNegotiator.startRntbdContextRequest(RntbdContextNegotiator.java:77)
at com.azure.data.cosmos.internal.directconnectivity.rntbd.RntbdContextNegotiator.write(RntbdContextNegotiator.java:63)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702)
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:120)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702)
at com.azure.data.cosmos.internal.directconnectivity.rntbd.RntbdRequestManager.write(RntbdRequestManager.java:502)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:764)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:790)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:758)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:808)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:294)
at com.azure.data.cosmos.internal.directconnectivity.rntbd.RntbdClientChannelPool$AcquireListener.lambda$operationComplete$1(RntbdClientChannelPool.java:561)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:497)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
The class com.azure.data.cosmos.internal.directconnectivity.rntbd.RntbdConstants$RntbdContextRequestHeader comes from com.microsoft.azure:azure-cosmos:jar:3.7.1 which I have in my dependencies:
--- maven-dependency-plugin:2.8:tree (default-cli) # my-service ---
com.avpines.poc:my-service:jar:0.0.1-SNAPSHOT
+- org.springframework.cloud:spring-cloud-starter-kubernetes:jar:1.1.2.RELEASE:compile
| +- org.springframework.cloud:spring-cloud-kubernetes-core:jar:1.1.2.RELEASE:compile
| | +- io.fabric8:kubernetes-client:jar:4.4.1:compile
| | | +- io.fabric8:kubernetes-model:jar:4.4.1:compile
| | | | +- io.fabric8:kubernetes-model-common:jar:4.4.1:compile
| | | | +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.10.3:compile
| | | | +- javax.validation:validation-api:jar:2.0.1.Final:compile
| | | | +- org.glassfish:javax.el:jar:3.0.1-b11:compile
| | | | +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
| | | | \- javax.xml.bind:jaxb-api:jar:2.3.1:compile
| | | | \- javax.activation:javax.activation-api:jar:1.2.0:compile
| | | +- com.squareup.okhttp3:okhttp:jar:3.12.0:compile
| | | | \- com.squareup.okio:okio:jar:1.15.0:compile
| | | +- com.squareup.okhttp3:logging-interceptor:jar:3.12.0:compile
| | | +- org.slf4j:jul-to-slf4j:jar:1.7.30:compile
| | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.10.3:compile
| | | +- io.fabric8:zjsonpatch:jar:0.3.0:compile
| | | \- com.github.mifmif:generex:jar:1.0.2:compile
| | | \- dk.brics.automaton:automaton:jar:1.11-8:compile
| | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.2.6.RELEASE:compile
| | \- org.springframework.cloud:spring-cloud-context:jar:2.2.2.RELEASE:compile
| | \- org.springframework.security:spring-security-crypto:jar:5.2.2.RELEASE:compile
| \- org.springframework.cloud:spring-cloud-kubernetes-discovery:jar:1.1.2.RELEASE:compile
| \- org.springframework.cloud:spring-cloud-commons:jar:2.2.2.RELEASE:compile
+- org.springframework.cloud:spring-cloud-starter-kubernetes-config:jar:1.1.2.RELEASE:compile
| \- org.springframework.cloud:spring-cloud-kubernetes-config:jar:1.1.2.RELEASE:compile
| \- org.springframework.security:spring-security-rsa:jar:1.0.9.RELEASE:compile
| \- org.bouncycastle:bcpkix-jdk15on:jar:1.64:compile
| \- org.bouncycastle:bcprov-jdk15on:jar:1.64:compile
+- org.springframework.boot:spring-boot-starter-web:jar:2.2.6.RELEASE:compile
| +- org.springframework.boot:spring-boot-starter:jar:2.2.6.RELEASE:compile
| | +- org.springframework.boot:spring-boot:jar:2.2.6.RELEASE:compile
| | +- org.springframework.boot:spring-boot-starter-logging:jar:2.2.6.RELEASE:compile
| | | \- org.apache.logging.log4j:log4j-to-slf4j:jar:2.12.1:compile
| | | \- org.apache.logging.log4j:log4j-api:jar:2.12.1:compile
| | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
| | \- org.yaml:snakeyaml:jar:1.25:compile
| +- org.springframework.boot:spring-boot-starter-json:jar:2.2.6.RELEASE:compile
| | \- com.fasterxml.jackson.core:jackson-databind:jar:2.10.3:compile
| +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.2.6.RELEASE:compile
| | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.33:compile
| | +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.33:compile
| | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.33:compile
| +- org.springframework.boot:spring-boot-starter-validation:jar:2.2.6.RELEASE:compile
| | +- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile
| | \- org.hibernate.validator:hibernate-validator:jar:6.0.18.Final:compile
| | +- org.jboss.logging:jboss-logging:jar:3.4.1.Final:compile
| | \- com.fasterxml:classmate:jar:1.5.1:compile
| +- org.springframework:spring-web:jar:5.2.5.RELEASE:compile
| \- org.springframework:spring-webmvc:jar:5.2.5.RELEASE:compile
+- org.springframework.boot:spring-boot-starter-actuator:jar:2.2.6.RELEASE:compile
| +- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:2.2.6.RELEASE:compile
| | \- org.springframework.boot:spring-boot-actuator:jar:2.2.6.RELEASE:compile
| \- io.micrometer:micrometer-core:jar:1.3.6:compile
| +- org.hdrhistogram:HdrHistogram:jar:2.1.11:compile
| \- org.latencyutils:LatencyUtils:jar:2.0.3:compile
+- org.projectlombok:lombok:jar:1.18.12:compile
+- org.springframework.boot:spring-boot-configuration-processor:jar:2.2.6.RELEASE:compile
+- org.jetbrains:annotations:jar:16.0.2:compile
+- com.devskiller.friendly-id:friendly-id:jar:1.1.0:compile
+- com.microsoft.azure:azure-cosmosdb-spring-boot-starter:jar:2.2.3:compile
| \- com.microsoft.azure:azure-spring-boot:jar:2.2.3:compile
| +- com.azure:azure-security-keyvault-secrets:jar:4.1.0:compile
| | +- com.azure:azure-core:jar:1.2.0:compile
| | | +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.10.3:compile
| | | | +- org.codehaus.woodstox:stax2-api:jar:4.2:compile
| | | | \- com.fasterxml.woodstox:woodstox-core:jar:6.1.1:compile
| | | \- io.netty:netty-tcnative-boringssl-static:jar:2.0.30.Final:compile
| | \- com.azure:azure-core-http-netty:jar:1.2.0:compile
| | \- io.netty:netty-transport-native-unix-common:jar:4.1.48.Final:compile
| \- com.azure:azure-identity:jar:1.0.2:compile
| +- com.microsoft.azure:msal4j:jar:0.5.0-preview:compile
| | +- com.google.code.gson:gson:jar:2.8.6:compile
| | +- commons-codec:commons-codec:jar:1.13:compile
| | \- org.apache.httpcomponents:httpclient:jar:4.5.12:compile
| | \- org.apache.httpcomponents:httpcore:jar:4.4.13:compile
| +- com.nimbusds:oauth2-oidc-sdk:jar:6.14:compile
| | +- com.sun.mail:javax.mail:jar:1.6.1:compile
| | | \- javax.activation:activation:jar:1.1:compile
| | +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
| | +- com.nimbusds:lang-tag:jar:1.4.4:compile (version selected from constraint [1.4.3,))
| | \- com.nimbusds:nimbus-jose-jwt:jar:8.11:compile (version selected from constraint [6.0.1,))
| +- org.nanohttpd:nanohttpd:jar:2.3.1:compile
| \- net.java.dev.jna:jna-platform:jar:4.5.2:compile
| \- net.java.dev.jna:jna:jar:4.5.2:compile
+- com.microsoft.azure:spring-data-cosmosdb:jar:2.2.3.FIX1:compile
| +- org.springframework:spring-core:jar:5.2.5.RELEASE:compile
| | \- org.springframework:spring-jcl:jar:5.2.5.RELEASE:compile
| +- org.springframework:spring-beans:jar:5.2.5.RELEASE:compile
| +- org.springframework:spring-context:jar:5.2.5.RELEASE:compile
| +- org.springframework:spring-tx:jar:5.2.5.RELEASE:compile
| +- org.springframework.data:spring-data-commons:jar:2.2.6.RELEASE:compile
| +- org.springframework:spring-expression:jar:5.2.5.RELEASE:compile
| +- com.microsoft.azure:azure-cosmos:jar:3.7.1:compile <-------- HERE
| | +- com.fasterxml.uuid:java-uuid-generator:jar:3.2.0:compile
| | +- commons-io:commons-io:jar:2.5:compile
| | +- commons-validator:commons-validator:jar:1.6:compile
| | | +- commons-digester:commons-digester:jar:1.8.1:compile
| | | +- commons-logging:commons-logging:jar:1.2:compile
| | | \- commons-collections:commons-collections:jar:3.2.2:compile
| | +- io.projectreactor:reactor-core:jar:3.3.4.RELEASE:compile
| | | \- org.reactivestreams:reactive-streams:jar:1.0.3:compile
| | +- io.netty:netty-codec-http:jar:4.1.48.Final:compile
| | | +- io.netty:netty-common:jar:4.1.48.Final:compile
| | | +- io.netty:netty-buffer:jar:4.1.48.Final:compile
| | | +- io.netty:netty-transport:jar:4.1.48.Final:compile
| | | \- io.netty:netty-codec:jar:4.1.48.Final:compile
| | +- io.netty:netty-handler:jar:4.1.48.Final:compile
| | | \- io.netty:netty-resolver:jar:4.1.48.Final:compile
| | +- org.apache.commons:commons-lang3:jar:3.9:compile
| | +- org.apache.commons:commons-collections4:jar:4.2:compile
| | +- org.apache.commons:commons-text:jar:1.6:compile
| | +- com.google.guava:guava:jar:28.2-android:compile
| | | +- com.google.guava:failureaccess:jar:1.0.1:compile
| | | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
| | | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
| | | +- org.checkerframework:checker-compat-qual:jar:2.5.5:compile
| | | +- com.google.errorprone:error_prone_annotations:jar:2.3.4:compile
| | | \- com.google.j2objc:j2objc-annotations:jar:1.3:compile
| | +- io.dropwizard.metrics:metrics-core:jar:4.1.5:compile
| | +- io.reactivex.rxjava2:rxjava:jar:2.2.19:compile
| | \- io.projectreactor.netty:reactor-netty:jar:0.9.6.RELEASE:compile
| | +- io.netty:netty-codec-http2:jar:4.1.48.Final:compile
| | +- io.netty:netty-handler-proxy:jar:4.1.48.Final:compile
| | | \- io.netty:netty-codec-socks:jar:4.1.48.Final:compile
| | \- io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.48.Final:compile
| +- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.10.3:compile
| | \- com.fasterxml.jackson.core:jackson-core:jar:2.10.3:compile
| +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.10.3:compile
| +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.10.3:compile
| | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.10.3:compile
| +- org.json:json:jar:20140107:compile
| \- org.javatuples:javatuples:jar:1.2:compile
+- io.github.resilience4j:resilience4j-spring-cloud2:jar:1.3.1:compile
| +- io.vavr:vavr:jar:0.10.2:compile
| | \- io.vavr:vavr-match:jar:0.10.2:compile
| +- org.slf4j:slf4j-api:jar:1.7.30:compile
| +- io.github.resilience4j:resilience4j-spring-cloud-common:jar:1.3.1:compile
| | \- io.github.resilience4j:resilience4j-spring:jar:1.3.1:compile
| | +- io.github.resilience4j:resilience4j-annotations:jar:1.3.1:compile
| | +- io.github.resilience4j:resilience4j-consumer:jar:1.3.1:compile
| | | \- io.github.resilience4j:resilience4j-circularbuffer:jar:1.3.1:compile
| | \- io.github.resilience4j:resilience4j-framework-common:jar:1.3.1:compile
| | +- io.github.resilience4j:resilience4j-ratelimiter:jar:1.3.1:compile
| | +- io.github.resilience4j:resilience4j-retry:jar:1.3.1:compile
| | \- io.github.resilience4j:resilience4j-bulkhead:jar:1.3.1:compile
| \- io.github.resilience4j:resilience4j-spring-boot2:jar:1.3.1:compile
| \- io.github.resilience4j:resilience4j-spring-boot-common:jar:1.3.1:compile
+- io.github.resilience4j:resilience4j-circuitbreaker:jar:1.3.1:compile
| \- io.github.resilience4j:resilience4j-core:jar:1.3.1:compile
+- io.github.resilience4j:resilience4j-timelimiter:jar:1.3.1:compile
+- io.github.resilience4j:resilience4j-micrometer:jar:1.3.1:compile
+- io.github.resilience4j:resilience4j-reactor:jar:1.3.1:compile
+- org.springframework.boot:spring-boot-starter-aop:jar:2.2.6.RELEASE:compile
| +- org.springframework:spring-aop:jar:5.2.5.RELEASE:compile
| \- org.aspectj:aspectjweaver:jar:1.9.5:compile
+- de.codecentric:chaos-monkey-spring-boot:jar:2.2.0:compile
| +- org.springframework:spring-aspects:jar:5.2.5.RELEASE:compile
| \- org.springframework:spring-instrument:jar:5.2.5.RELEASE:compile
+- com.microsoft.azure:applicationinsights-logging-logback:jar:2.5.1:compile
| +- com.microsoft.azure:applicationinsights-core:jar:2.5.1:compile
| +- ch.qos.logback:logback-classic:jar:1.2.3:compile
| \- ch.qos.logback:logback-core:jar:1.2.3:compile
+- com.microsoft.azure:applicationinsights-spring-boot-starter:jar:2.5.1:compile
| \- com.microsoft.azure:applicationinsights-web:jar:2.5.1:compile
\- org.springframework.boot:spring-boot-starter-test:jar:2.2.6.RELEASE:test
+- org.springframework.boot:spring-boot-test:jar:2.2.6.RELEASE:test
+- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.2.6.RELEASE:test
+- com.jayway.jsonpath:json-path:jar:2.4.0:test
| \- net.minidev:json-smart:jar:2.3:compile
| \- net.minidev:accessors-smart:jar:1.2:compile
| \- org.ow2.asm:asm:jar:5.0.4:compile
+- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:compile
| \- jakarta.activation:jakarta.activation-api:jar:1.2.2:compile
+- org.junit.jupiter:junit-jupiter:jar:5.5.2:test
| +- org.junit.jupiter:junit-jupiter-api:jar:5.5.2:test
| | +- org.apiguardian:apiguardian-api:jar:1.1.0:test
| | +- org.opentest4j:opentest4j:jar:1.2.0:test
| | \- org.junit.platform:junit-platform-commons:jar:1.5.2:test
| +- org.junit.jupiter:junit-jupiter-params:jar:5.5.2:test
| \- org.junit.jupiter:junit-jupiter-engine:jar:5.5.2:test
| \- org.junit.platform:junit-platform-engine:jar:1.5.2:test
+- org.mockito:mockito-junit-jupiter:jar:3.1.0:test
+- org.assertj:assertj-core:jar:3.13.2:test
+- org.hamcrest:hamcrest:jar:2.1:test
+- org.mockito:mockito-core:jar:3.1.0:test
| +- net.bytebuddy:byte-buddy:jar:1.10.8:test
| +- net.bytebuddy:byte-buddy-agent:jar:1.10.8:test
| \- org.objenesis:objenesis:jar:2.6:test
+- org.skyscreamer:jsonassert:jar:1.5.0:test
| \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
+- org.springframework:spring-test:jar:5.2.5.RELEASE:test
\- org.xmlunit:xmlunit-core:jar:2.6.4:test
My CosmosDB beans:
#Repository
public interface RawMessageRepository
extends CosmosRepository<RawMessage, String> {
}
#Service
public class MessageAccess {
private final RawMessageRepository repository;
#Autowired
public MessageAccessImpl(RawMessageRepository repository) {
this.repository = repository;
}
public RawMessage save(#NotNull Message message) {
return repository.save(RawMessage.from(message));
}
}
#Slf4j
#Service
public class CosmosSink implements Sink {
private final MessageAccess access;
#Autowired
public CosmosSink(MessageAccess access) {
this.access = access;
}
#Override
public List<Message> sink(Message message) {
access.save(message);
LOG.info("SAVED MESSAGE: '{}'", message);
return Collections.singletonList(message);
}
}
Once I remove these classes from the ApplicationContext
the context loads (the application obviously fails because
the needed classes are not in the context)
2020-03-28 13:24:20.633 INFO 26138 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2020-03-28 13:24:21.235 INFO 26138 --- [ main] c.a.d.c.internal.RxDocumentClientImpl : Initializing DocumentClient with serviceEndpoint [https://***.documents.azure.com:443/], connectionPolicy [ConnectionPolicy{requestTimeoutInMillis=60000, mediaRequestTimeoutInMillis=300000, connectionMode=DIRECT, maxPoolSize=1000, idleConnectionTimeoutInMillis=60000, userAgentSuffix=';spring-data/2.2.3;', retryOptions=RetryOptions{maxRetryAttemptsOnThrottledRequests=9, maxRetryWaitTimeInSeconds=30}, enableEndpointDiscovery=true, preferredLocations=null, usingMultipleWriteLocations=false, inetSocketProxyAddress=null}], consistencyLevel [null], directModeProtocol [Tcp]
2020-03-28 13:24:21.350 INFO 26138 --- [ parallel-1] c.a.d.c.internal.RxDocumentClientImpl : Getting database account endpoint from https://***.documents.azure.com:443/
2020-03-28 13:24:23.365 INFO 26138 --- [ main] c.a.d.c.internal.RxDocumentClientImpl : Initializing DocumentClient with serviceEndpoint [https://***.documents.azure.com:443/], connectionPolicy [ConnectionPolicy{requestTimeoutInMillis=60000, mediaRequestTimeoutInMillis=300000, connectionMode=DIRECT, maxPoolSize=1000, idleConnectionTimeoutInMillis=60000, userAgentSuffix=';spring-data/2.2.3;;spring-data/2.2.3;', retryOptions=RetryOptions{maxRetryAttemptsOnThrottledRequests=9, maxRetryWaitTimeInSeconds=30}, enableEndpointDiscovery=true, preferredLocations=null, usingMultipleWriteLocations=false, inetSocketProxyAddress=null}], consistencyLevel [null], directModeProtocol [Tcp]
2020-03-28 13:24:23.367 INFO 26138 --- [ parallel-2] c.a.d.c.internal.RxDocumentClientImpl : Getting database account endpoint from https://***.documents.azure.com:443/
2020-03-28 13:24:24.541 INFO 26138 --- [ main] c.a.d.c.internal.RxDocumentClientImpl : Initializing DocumentClient with serviceEndpoint [https://***.documents.azure.com:443/], connectionPolicy [ConnectionPolicy{requestTimeoutInMillis=60000, mediaRequestTimeoutInMillis=300000, connectionMode=DIRECT, maxPoolSize=1000, idleConnectionTimeoutInMillis=60000, userAgentSuffix=';spring-data/2.2.3;;spring-data/2.2.3;;spring-data/2.2.3;', retryOptions=RetryOptions{maxRetryAttemptsOnThrottledRequests=9, maxRetryWaitTimeInSeconds=30}, enableEndpointDiscovery=true, preferredLocations=null, usingMultipleWriteLocations=false, inetSocketProxyAddress=null}], consistencyLevel [null], directModeProtocol [Tcp]
2020-03-28 13:24:24.543 INFO 26138 --- [ parallel-3] c.a.d.c.internal.RxDocumentClientImpl : Getting database account endpoint from https://***.documents.azure.com:443/
2020-03-28 13:24:25.636 INFO 26138 --- [ main] c.a.d.c.internal.RxDocumentClientImpl : Initializing DocumentClient with serviceEndpoint [https://***.documents.azure.com:443/], connectionPolicy [ConnectionPolicy{requestTimeoutInMillis=60000, mediaRequestTimeoutInMillis=300000, connectionMode=DIRECT, maxPoolSize=1000, idleConnectionTimeoutInMillis=60000, userAgentSuffix=';spring-data/2.2.3;;spring-data/2.2.3;;spring-data/2.2.3;;spring-data/2.2.3;', retryOptions=RetryOptions{maxRetryAttemptsOnThrottledRequests=9, maxRetryWaitTimeInSeconds=30}, enableEndpointDiscovery=true, preferredLocations=null, usingMultipleWriteLocations=false, inetSocketProxyAddress=null}], consistencyLevel [null], directModeProtocol [Tcp]
2020-03-28 13:24:25.638 INFO 26138 --- [ parallel-4] c.a.d.c.internal.RxDocumentClientImpl : Getting database account endpoint from https://***.documents.azure.com:443/
2020-03-28 13:24:28.633 INFO 26138 --- [ main] .r.EventBasedConfigurationChangeDetector : Added new Kubernetes watch: config-maps-watch
2020-03-28 13:24:28.634 INFO 26138 --- [ main] .r.EventBasedConfigurationChangeDetector : Kubernetes event-based configuration change detector activated
Any idea where is the conflict coming from and how to resolve it? Please let me
know if any more information is needed.
I did a some googling and little research. I foud following:
The missing class com.azure.data.cosmos.internal.directconnectivity.rntbd.RntbdConstants$RntbdContextRequestHeader is a part of azure-cosmosdb-direct, pls see pom.xml, class is located here.
azure-cosmosdb-direct is missing from your dependency list. I assume it's incomplete or hidden for some reason(?)
Looking at exception stacktrace it's clear that at com.azure.data.cosmos.internal.directconnectivity.rntbd.RntbdContextRequest$Headers.<init>(RntbdContextRequest.java:126) is a place where exceptiom occurs. So that means RntbdContextRequest class actually existsts (it's also is a part of azure-cosmosdb-direct). Therefore you have needed dependency, but it probably has wrong version.
I propose you to look a bit deeper into how azure-cosmosdb-direct dependency is injected in your project and fix its version. Just try to declare it directly in your pom.xml with the latest version.
Hope I helped you.

Problem with dependencies in WildFly - in pom.xml defined other version than is using on runtime

I have a problem with dependencies in my project running on WildFly.
In pom.xml I have following definition of Jackson library dependency:
<dependencyManagement>
// ....
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.10.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>2.10.2</version>
</dependency>
// ...
</dependencyManagement>
But on runtime is used version 2.1.4. I see it also in IntelliJ, which is informing me that this version is "ommited for conflict with 2.1.4"
Version 2.1.4 is included in WildFly, but I want to use version 2.10.2. How to force usage of this version library?
Update:
My dependency tree:
--- maven-dependency-plugin:2.8:tree (default-cli) # myapp-ear ---
pl.net.me.myapp:myapp-ear:ear:1.0-SNAPSHOT
+- pl.net.me.myapp:myapp-ejb:ejb:1.0-SNAPSHOT:compile
| +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
| | \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
| +- org.apache.httpcomponents:httpclient:jar:4.5:compile
| | +- org.apache.httpcomponents:httpcore:jar:4.4.1:compile
| | \- commons-logging:commons-logging:jar:1.2:compile
| +- commons-fileupload:commons-fileupload:jar:1.2.2:compile
| +- commons-lang:commons-lang:jar:2.6:compile
| +- commons-codec:commons-codec:jar:1.4:compile
| +- org.jasig.cas.client:cas-client-core:jar:3.2.1:compile
| +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.2.Final:compile
| +- org.drools:drools-core:jar:5.4.0.Final:compile
| | +- org.mvel:mvel2:jar:2.1.0.drools16:compile
| | \- org.drools:knowledge-api:jar:5.4.0.Final:compile
| +- net.sf.jasperreports:jasperreports:jar:6.0.3:compile
| | +- commons-beanutils:commons-beanutils:jar:1.8.3:compile
| | +- commons-collections:commons-collections:jar:3.2.1:compile
| | +- commons-digester:commons-digester:jar:2.1:compile
| | +- com.itextpdf:itextpdf:jar:5.5.0:compile
| | +- com.itextpdf:itext-pdfa:jar:5.5.0:compile
| | +- jfree:jcommon:jar:1.0.15:compile
| | +- jfree:jfreechart:jar:1.0.12:compile
| | +- xml-apis:xml-apis:jar:1.3.02:compile
| | +- org.eclipse.jdt.core.compiler:ecj:jar:4.3.1:compile
| | +- org.codehaus.castor:castor-xml:jar:1.3.3:compile
| | | +- org.codehaus.castor:castor-core:jar:1.3.3:compile
| | | +- javax.inject:javax.inject:jar:1:compile
| | | +- stax:stax:jar:1.2.0:compile
| | | | \- stax:stax-api:jar:1.0.1:compile
| | | +- javax.xml.stream:stax-api:jar:1.0-2:compile
| | | \- org.springframework:spring-context:jar:4.1.4.RELEASE:compile
| | | +- org.springframework:spring-aop:jar:4.1.4.RELEASE:compile
| | | | \- aopalliance:aopalliance:jar:1.0:compile
| | | +- org.springframework:spring-beans:jar:4.1.4.RELEASE:compile
| | | +- org.springframework:spring-core:jar:4.1.4.RELEASE:compile
| | | \- org.springframework:spring-expression:jar:4.1.4.RELEASE:compile
| | +- com.fasterxml.jackson.core:jackson-core:jar:2.1.4:compile
| | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.1.4:compile
| | +- org.apache.lucene:lucene-core:jar:4.5.1:compile
| | +- org.apache.lucene:lucene-analyzers-common:jar:4.5.1:compile
| | +- org.apache.lucene:lucene-queryparser:jar:4.5.1:compile
| | | +- org.apache.lucene:lucene-queries:jar:4.5.1:compile
| | | \- org.apache.lucene:lucene-sandbox:jar:4.5.1:compile
| | | \- jakarta-regexp:jakarta-regexp:jar:1.4:compile
| | \- org.olap4j:olap4j:jar:0.9.7.309-JS-3:compile
| +- org.codehaus.groovy:groovy-all:jar:2.4.0:compile
| +- org.apache.sanselan:sanselan:jar:0.97-incubator:compile
| +- org.jbpm:jbpm-bpmn2:jar:5.4.0.Final:compile
| | +- org.jbpm:jbpm-flow-builder:jar:5.4.0.Final:compile
| | | \- org.jbpm:jbpm-flow:jar:5.4.0.Final:compile
| | \- org.slf4j:slf4j-api:jar:1.6.4:compile
| +- org.drools:drools-compiler:jar:5.4.0.Final:compile
| | +- org.antlr:antlr-runtime:jar:3.3:compile
| | +- org.antlr:antlr:jar:3.3:compile
| | \- org.antlr:stringtemplate:jar:3.2.1:compile
| +- org.drools:drools-clips:jar:5.4.0.Final:compile
| +- org.drools:drools-decisiontables:jar:5.4.0.Final:compile
| | \- net.sourceforge.jexcelapi:jxl:jar:2.6.10:compile
| +- org.drools:drools-jsr94:jar:5.4.0.Final:compile
| | \- jsr94:jsr94:jar:1.1:compile
| +- org.drools:drools-persistence-jpa:jar:5.4.0.Final:compile
| | +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:compile
| | +- com.google.protobuf:protobuf-java:jar:2.4.1:compile
| | +- dom4j:dom4j:jar:1.6.1:compile
| | +- org.javassist:javassist:jar:3.14.0-GA:compile
| | \- javax.transaction:jta:jar:1.1:compile
| +- org.drools:drools-templates:jar:5.4.0.Final:compile
| +- org.drools:drools-verifier:jar:5.4.0.Final:compile
| | +- com.google.guava:guava:jar:r06:compile
| | +- com.thoughtworks.xstream:xstream:jar:1.4.1:compile
| | | +- xmlpull:xmlpull:jar:1.1.3.1:compile
| | | \- xpp3:xpp3_min:jar:1.1.4c:compile
| | \- com.lowagie:itext:jar:2.1.2:compile
| | +- bouncycastle:bcmail-jdk14:jar:138:compile
| | \- bouncycastle:bcprov-jdk14:jar:138:compile
| +- org.drools:knowledge-internal-api:jar:5.4.0.Final:compile
| +- commons-io:commons-io:jar:2.1:compile
| +- pl.net.me.myapp:mka-commons-jar:jar:1.0-SNAPSHOT:compile
| | +- log4j:log4j:jar:1.2.17:compile
| | +- com.google.zxing:core:jar:3.1.0:compile
| | +- com.google.zxing:javase:jar:3.1.0:compile
| | \- org.projectlombok:lombok:jar:1.18.10:compile
| +- pl.net.me.myapp:myapp-cdm:jar:1.0-SNAPSHOT:compile
| +- pl.net.me.myapp:myapp-database:jar:1.0-SNAPSHOT:compile
| +- net.sf.jasperreports:jasperreports-fonts:jar:6.0.0:compile
| +- com.fasterxml.jackson.core:jackson-databind:jar:2.10.2:compile
| \- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.10.2:import
+- pl.net.me.myapp:myapp-web:war:1.0-SNAPSHOT:compile
+- pl.net.me.myapp:iapp-web:war:1.0-SNAPSHOT:compile
+- pl.net.me.myapp:sop-web:war:1.0-SNAPSHOT:compile
\- pl.net.me.myapp:my-maps:war:1.0-SNAPSHOT:compile
I found a solution. On WildFly 18.0.1 is everything working fine, because it contains version 2.9.10.1 of Jackson library. Problem is on WildFly 8.2.1, because it contains version 2.1.4. Version of Jackson library which is used on runtime is version provided by WildFly.
Referring to this question:
Wildfly 9 - How do I exclude Jackson
I added file jboss-deployment-structure.xml to my META-INF directory with following contant:
<jboss-deployment-structure>
<deployment>
<exclusions>
<module name="com.fasterxml.jackson.core.jackson-core" />
<module name="com.fasterxml.jackson.core.jackson-databind" />
<module name="com.fasterxml.jackson.core.jackson-annotations" />
<module name="com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider" />
<module name="org.jboss.resteasy.resteasy-jackson2-provider" />
</exclusions>
</deployment>
</jboss-deployment-structure>
Unfortunatly it works only on WildFly 18.0.1, WildFly 8.2.1 doesn't start because of other dependency problems, so the most reasonable solution in this situation is to upgrade WildFly or remove jackson-datatype-jsr310 from pom.xml

Jetty: lang.NoSuchMethodError: org.eclipse.jetty.util.thread.ExecutionStrategy.execute()V

I upgraded dropwizard to the latest 1.2.4 from 1.0.2. Now I am seeing the below exception in my logs
WARN [2018-02-28 11:34:50] o.e.j.u.t.QueuedThreadPool:[?:?:?] - [dw-99] -
java.lang.NoSuchMethodError: org.eclipse.jetty.util.thread.ExecutionStrategy.execute()V
at org.eclipse.jetty.io.ManagedSelector.run(ManagedSelector.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:708)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:626)
at java.lang.Thread.run(Thread.java:748)
mvn dependency:tree output is below
com.van:restapilayer:jar:0.001-SNAPSHOT
+- io.dropwizard:dropwizard-jackson:jar:1.2.4:compile
| +- io.dropwizard:dropwizard-util:jar:1.2.4:compile
| +- com.fasterxml.jackson.core:jackson-core:jar:2.9.4:compile
| +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
| +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.4:compile
| +- com.fasterxml.jackson.datatype:jackson-datatype-guava:jar:2.9.4:compile
| +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.4:compile
| +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.4:compile
| +- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.4:compile
| +- com.fasterxml.jackson.module:jackson-module-afterburner:jar:2.9.4:compile
| \- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.9.4:compile
+- io.dropwizard.modules:dropwizard-elasticsearch:jar:1.2.0-1:compile
| \- org.elasticsearch:elasticsearch:jar:2.4.6:compile
| +- org.apache.lucene:lucene-core:jar:5.5.4:compile
| +- org.apache.lucene:lucene-backward-codecs:jar:5.5.4:compile
| +- org.apache.lucene:lucene-analyzers-common:jar:5.5.4:compile
| +- org.apache.lucene:lucene-queries:jar:5.5.4:compile
| +- org.apache.lucene:lucene-memory:jar:5.5.4:compile
| +- org.apache.lucene:lucene-highlighter:jar:5.5.4:compile
| +- org.apache.lucene:lucene-queryparser:jar:5.5.4:compile
| | \- org.apache.lucene:lucene-sandbox:jar:5.5.4:compile
| +- org.apache.lucene:lucene-suggest:jar:5.5.4:compile
| | \- org.apache.lucene:lucene-misc:jar:5.5.4:compile
| +- org.apache.lucene:lucene-join:jar:5.5.4:compile
| | \- org.apache.lucene:lucene-grouping:jar:5.5.4:compile
| +- org.apache.lucene:lucene-spatial:jar:5.5.4:compile
| | +- org.apache.lucene:lucene-spatial3d:jar:5.5.4:compile
| | \- com.spatial4j:spatial4j:jar:0.5:compile
| +- org.elasticsearch:securesm:jar:1.0:compile
| +- com.carrotsearch:hppc:jar:0.7.1:compile
| +- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.8.1:compile
| +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.8.1:compile
| +- io.netty:netty:jar:3.10.6.Final:compile
| +- com.ning:compress-lzf:jar:1.0.2:compile
| +- com.tdunning:t-digest:jar:3.0:compile
| +- org.hdrhistogram:HdrHistogram:jar:2.1.6:compile
| \- com.twitter:jsr166e:jar:1.1.0:compile
+- com.van:logback-utils:jar:0.001-SNAPSHOT:compile
| +- ch.qos.logback:logback-classic:jar:1.2.3:compile
| | \- ch.qos.logback:logback-core:jar:1.2.3:compile
| +- com.van:common:jar:0.001-SNAPSHOT:compile
| | +- com.koloboke:koloboke-api-jdk8:jar:1.0.0:compile
| | +- com.koloboke:koloboke-impl-jdk8:jar:1.0.0:runtime
| | | \- com.koloboke:koloboke-impl-common-jdk8:jar:1.0.0:runtime
| | +- it.unimi.dsi:fastutil:jar:8.1.0:compile
| | +- com.amazonaws:aws-java-sdk:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-pinpoint:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-xray:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-opsworkscm:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-support:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-simpledb:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-servicecatalog:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-servermigration:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-simpleworkflow:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-storagegateway:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-route53:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-s3:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-importexport:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-sts:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-sqs:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-rds:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-redshift:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-elasticbeanstalk:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-glacier:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-iam:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-datapipeline:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-elasticloadbalancing:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-elasticloadbalancingv2:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-emr:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-elasticache:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-elastictranscoder:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-ec2:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-dynamodb:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-sns:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-budgets:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-cloudtrail:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-cloudwatch:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-logs:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-events:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-cognitoidentity:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-cognitosync:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-directconnect:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-cloudformation:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-cloudfront:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-kinesis:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-opsworks:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-autoscaling:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-cloudsearch:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-cloudwatchmetrics:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-codedeploy:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-codepipeline:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-kms:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-config:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-lambda:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-ecs:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-ecr:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-cloudhsm:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-ssm:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-workspaces:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-machinelearning:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-directory:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-efs:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-codecommit:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-devicefarm:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-elasticsearch:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-waf:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-marketplacecommerceanalytics:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-inspector:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-iot:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-api-gateway:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-acm:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-gamelift:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-dms:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-marketplacemeteringservice:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-cognitoidp:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-discovery:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-applicationautoscaling:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-snowball:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-rekognition:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-polly:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-lightsail:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-stepfunctions:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-health:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-codebuild:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-appstream:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-shield:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-batch:jar:1.11.77:compile
| | | +- com.amazonaws:aws-java-sdk-models:jar:1.11.77:compile
| | | \- com.amazonaws:aws-java-sdk-swf-libraries:jar:1.11.22:compile
| | +- com.van:utility:jar:0.001-SNAPSHOT:compile
| | +- com.ning:async-http-client:jar:1.9.38:compile
| | +- com.esotericsoftware:kryo-shaded:jar:3.0.0:compile
| | | \- com.esotericsoftware:minlog:jar:1.3.0:compile
| | +- com.codahale.metrics:metrics-graphite:jar:3.0.1:compile
| | +- com.librato.metrics:metrics-librato:jar:4.1.2.4:compile
| | | \- com.librato.metrics:librato-java:jar:1.0.13:compile
| | +- org.mockito:mockito-all:jar:1.10.19:compile
| | +- org.powermock:powermock-module-junit4:jar:1.6.4:compile
| | | \- org.powermock:powermock-module-junit4-common:jar:1.6.4:compile
| | | +- org.powermock:powermock-core:jar:1.6.4:compile
| | | \- org.powermock:powermock-reflect:jar:1.6.4:compile
| | +- org.powermock:powermock-api-mockito:jar:1.6.4:compile
| | | +- org.mockito:mockito-core:jar:1.10.19:compile
| | | \- org.powermock:powermock-api-support:jar:1.6.4:compile
| | +- com.vmw.vli:licensecheck:jar:1.4-RELEASE:compile
| | +- org.bouncycastle:bcprov-jdk15on:jar:1.57:compile
| | +- org.bouncycastle:bcpkix-jdk15on:jar:1.57:compile
| | +- org.apache.hadoop:hadoop-common:jar:2.6.0-cdh5.7.1:compile
| | | +- org.apache.commons:commons-math3:jar:3.1.1:compile
| | | +- xmlenc:xmlenc:jar:0.52:compile
| | | +- commons-httpclient:commons-httpclient:jar:3.1:compile
| | | +- tomcat:jasper-compiler:jar:5.5.23:compile
| | | +- tomcat:jasper-runtime:jar:5.5.23:compile
| | | +- javax.servlet.jsp:jsp-api:jar:2.1:compile
| | | +- commons-el:commons-el:jar:1.0:compile
| | | +- net.java.dev.jets3t:jets3t:jar:0.9.0:compile
| | | | \- com.jamesmurty.utils:java-xmlbuilder:jar:0.4:compile
| | | +- org.apache.avro:avro:jar:1.7.6-cdh5.7.1:compile
| | | +- org.apache.curator:curator-client:jar:2.7.1:compile
| | | +- org.apache.curator:curator-recipes:jar:2.7.1:compile
| | | +- org.apache.htrace:htrace-core4:jar:4.0.1-incubating:compile
| | | \- org.apache.commons:commons-compress:jar:1.4.1:compile
| | | \- org.tukaani:xz:jar:1.0:compile
| | +- org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.7.1:compile
| | | +- org.apache.hadoop:hadoop-hdfs:jar:2.6.0-cdh5.7.1:compile
| | | | +- xerces:xercesImpl:jar:2.9.1:compile
| | | | \- org.fusesource.leveldbjni:leveldbjni-all:jar:1.8:compile
| | | +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.6.0-cdh5.7.1:compile
| | | | +- org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.6.0-cdh5.7.1:compile
| | | | | +- org.apache.hadoop:hadoop-yarn-client:jar:2.6.0-cdh5.7.1:compile
| | | | | \- org.apache.hadoop:hadoop-yarn-server-common:jar:2.6.0-cdh5.7.1:compile
| | | | \- org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.6.0-cdh5.7.1:compile
| | | +- org.apache.hadoop:hadoop-yarn-api:jar:2.6.0-cdh5.7.1:compile
| | | +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.0-cdh5.7.1:compile
| | | | \- org.apache.hadoop:hadoop-yarn-common:jar:2.6.0-cdh5.7.1:compile
| | | | +- javax.xml.bind:jaxb-api:jar:2.2.2:compile
| | | | | \- javax.xml.stream:stax-api:jar:1.0-2:compile
| | | | +- org.codehaus.jackson:jackson-jaxrs:jar:1.8.8:compile
| | | | \- org.codehaus.jackson:jackson-xc:jar:1.8.8:compile
| | | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.6.0-cdh5.7.1:compile
| | | \- org.apache.hadoop:hadoop-aws:jar:2.6.0-cdh5.7.1:compile
| | +- org.coursera:metrics-datadog:jar:1.1.13:compile
| | | +- org.apache.httpcomponents:fluent-hc:jar:4.3.6:compile
| | | \- com.datadoghq:java-dogstatsd-client:jar:2.3:compile
| | \- com.van:reg-common:jar:0.001-SNAPSHOT:compile
| \- org.slf4j:log4j-over-slf4j:jar:1.7.25:compile
+- io.dropwizard:dropwizard-validation:jar:1.2.4:compile
| \- org.glassfish:javax.el:jar:3.0.0:compile
+- io.dropwizard:dropwizard-core:jar:1.2.4:compile
| +- io.dropwizard:dropwizard-configuration:jar:1.2.4:compile
| +- io.dropwizard:dropwizard-logging:jar:1.2.4:compile
| | +- io.dropwizard.metrics:metrics-logback:jar:3.2.5:compile
| | +- org.slf4j:jul-to-slf4j:jar:1.7.25:compile
| | +- org.slf4j:jcl-over-slf4j:jar:1.7.25:compile
| | \- org.eclipse.jetty:jetty-util:jar:9.4.8.v20171121:compile
| +- io.dropwizard:dropwizard-metrics:jar:1.2.4:compile
| +- io.dropwizard:dropwizard-jersey:jar:1.2.4:compile
| | +- org.glassfish.jersey.core:jersey-server:jar:2.25.1:compile
| | | \- org.glassfish.jersey.media:jersey-media-jaxb:jar:2.25.1:compile
| | +- org.glassfish.jersey.ext:jersey-metainf-services:jar:2.25.1:compile
| | +- org.glassfish.jersey.ext:jersey-bean-validation:jar:2.25.1:compile
| | +- io.dropwizard.metrics:metrics-jersey2:jar:3.2.5:compile
| | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.9.4:compile
| | | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.9.4:compile
| | | \- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.9.4:compile
| | +- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.25.1:compile
| | | \- org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.25.1:compile
| | +- org.eclipse.jetty:jetty-server:jar:9.4.8.v20171121:compile
| | | +- javax.servlet:javax.servlet-api:jar:3.1.0:compile
| | | \- org.eclipse.jetty:jetty-io:jar:9.4.8.v20171121:compile
| | +- org.eclipse.jetty:jetty-webapp:jar:9.4.8.v20171121:compile
| | | \- org.eclipse.jetty:jetty-xml:jar:9.4.8.v20171121:compile
| | \- org.eclipse.jetty:jetty-continuation:jar:9.4.8.v20171121:compile
| +- io.dropwizard:dropwizard-servlets:jar:1.2.4:compile
| | \- io.dropwizard.metrics:metrics-annotation:jar:3.2.5:compile
| +- io.dropwizard:dropwizard-jetty:jar:1.2.4:compile
| | +- io.dropwizard.metrics:metrics-jetty9:jar:3.2.5:compile
| | +- org.eclipse.jetty:jetty-servlet:jar:9.4.8.v20171121:compile
| | | \- org.eclipse.jetty:jetty-security:jar:9.4.8.v20171121:compile
| | +- org.eclipse.jetty:jetty-servlets:jar:9.4.8.v20171121:compile
| | \- org.eclipse.jetty:jetty-http:jar:9.4.8.v20171121:compile
| +- io.dropwizard:dropwizard-lifecycle:jar:1.2.4:compile
| +- io.dropwizard.metrics:metrics-core:jar:3.2.5:compile
| +- io.dropwizard.metrics:metrics-jvm:jar:3.2.5:compile
| +- io.dropwizard.metrics:metrics-servlets:jar:3.2.5:compile
| | +- io.dropwizard.metrics:metrics-json:jar:3.2.5:compile
| | \- com.papertrail:profiler:jar:1.0.2:compile
| +- io.dropwizard.metrics:metrics-healthchecks:jar:3.2.5:compile
| +- io.dropwizard:dropwizard-request-logging:jar:1.2.4:compile
| | \- ch.qos.logback:logback-access:jar:1.2.3:compile
| +- net.sourceforge.argparse4j:argparse4j:jar:0.7.0:compile
| \- org.eclipse.jetty.toolchain.setuid:jetty-setuid-java:jar:1.0.3:compile
+- commons-fileupload:commons-fileupload:jar:1.3.3:compile
| \- commons-io:commons-io:jar:2.2:compile
+- io.dropwizard:dropwizard-testing:jar:1.2.4:test
| +- org.objenesis:objenesis:jar:2.6:compile
| \- org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-inmemory:jar:2.25.1:test
| \- org.glassfish.jersey.test-framework:jersey-test-framework-core:jar:2.25.1:test
+- org.apache.shiro:shiro-core:jar:1.3.0:compile
| \- commons-beanutils:commons-beanutils:jar:1.8.3:compile
+- io.swagger:swagger-core:jar:1.5.0:compile
| +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.4.2:compile
| +- io.swagger:swagger-models:jar:1.5.0:compile
| \- javax.validation:validation-api:jar:1.1.0.Final:compile
+- io.swagger:swagger-annotations:jar:1.5.0:compile
+- org.apache.shiro:shiro-web:jar:1.2.3:compile
+- org.apache.commons:commons-lang3:jar:3.4:compile
+- com.van:contracts:jar:0.001-SNAPSHOT:compile
| +- com.van:base-model:jar:0.001-SNAPSHOT:compile
| +- com.van:core-model:jar:0.001-SNAPSHOT:compile
| | +- org.reflections:reflections:jar:0.9.9-RC1:compile
| | | \- dom4j:dom4j:jar:1.6.1:compile
| | | \- xml-apis:xml-apis:jar:1.0.b2:compile
| | \- commons-validator:commons-validator:jar:1.6:compile
| +- com.van:vshield-model:jar:0.001-SNAPSHOT:compile
| +- com.van:nsx-model:jar:0.001-SNAPSHOT:compile
| +- com.van:cisco-model:jar:0.001-SNAPSHOT:compile
| +- com.van:vcenter-model:jar:0.001-SNAPSHOT:compile
| +- com.van:force10-model:jar:0.001-SNAPSHOT:compile
| +- com.van:flow-model:jar:0.001-SNAPSHOT:compile
| +- com.van:openstack-model:jar:0.001-SNAPSHOT:compile
| +- com.van:juniper-model:jar:0.001-SNAPSHOT:compile
| \- com.van:pan-model:jar:0.001-SNAPSHOT:compile
+- com.van:rpc-saasinterface:jar:0.001-SNAPSHOT:compile
+- com.van:storage-common:jar:0.001-SNAPSHOT:compile
| +- com.van:data-model:jar:0.001-SNAPSHOT:compile
| | \- org.ardverk:patricia-trie:jar:0.7-SNAPSHOT:compile
| +- net.spy:spymemcached:jar:2.11.4:compile
| +- org.xerial.snappy:snappy-java:jar:1.1.2.6:compile
| +- com.opencsv:opencsv:jar:3.7:compile
| \- org.codehaus.groovy:groovy-all:jar:2.4.4:compile
+- org.hibernate:hibernate-validator:jar:5.2.4.Final:compile
| +- org.jboss.logging:jboss-logging:jar:3.2.1.Final:compile
| \- com.fasterxml:classmate:jar:1.1.0:compile
+- com.van:kin-storage-metrics:jar:0.001-SNAPSHOT:compile
| +- org.apache.hbase:hbase-client:jar:1.2.0-cdh5.7.0:compile
| | +- org.apache.hbase:hbase-annotations:jar:1.2.0-cdh5.7.0:compile
| | +- org.apache.hbase:hbase-common:jar:1.2.0-cdh5.7.0:compile
| | | \- org.apache.hadoop:hadoop-core:jar:2.6.0-mr1-cdh5.7.0:compile
| | | +- org.mortbay.jetty:jetty:jar:6.1.26.cloudera.2:compile
| | | +- hsqldb:hsqldb:jar:1.8.0.10:compile
| | | \- org.eclipse.jdt:core:jar:3.1.1:compile
| | +- org.apache.hbase:hbase-protocol:jar:1.2.0-cdh5.7.0:compile
| | +- io.netty:netty-all:jar:4.0.23.Final:compile
| | +- org.apache.zookeeper:zookeeper:jar:3.4.5-cdh5.7.0:compile
| | | \- org.slf4j:slf4j-log4j12:jar:1.7.5:compile
| | +- org.apache.htrace:htrace-core:jar:3.2.0-incubating:compile
| | +- org.jruby.jcodings:jcodings:jar:1.0.8:compile
| | +- org.jruby.joni:joni:jar:2.1.2:compile
| | +- com.yammer.metrics:metrics-core:jar:2.2.0:compile
| | +- org.apache.hadoop:hadoop-annotations:jar:2.6.0-cdh5.7.0:compile
| | +- org.apache.hadoop:hadoop-auth:jar:2.6.0-cdh5.7.0:compile
| | | +- org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M15:compile
| | | | +- org.apache.directory.server:apacheds-i18n:jar:2.0.0-M15:compile
| | | | +- org.apache.directory.api:api-asn1-api:jar:1.0.0-M20:compile
| | | | \- org.apache.directory.api:api-util:jar:1.0.0-M20:compile
| | | \- org.apache.curator:curator-framework:jar:2.7.1:compile
| | \- com.github.stephenc.findbugs:findbugs-annotations:jar:1.3.9-1:compile
| \- com.jcraft:jsch:jar:0.1.54:compile
+- org.apache.httpcomponents:httpcore:jar:4.4.5:compile
+- com.van:storage-config:jar:0.001-SNAPSHOT:compile
| +- org.postgresql:postgresql:jar:9.4.1208.jre7:compile
| +- commons-dbcp:commons-dbcp:jar:1.4:compile
| | \- commons-pool:commons-pool:jar:1.5.4:compile
| +- com.van:dedup:jar:0.001-SNAPSHOT:compile
| \- org.elasticsearch.module:lang-groovy:jar:2.3.1:compile
| \- org.codehaus.groovy:groovy:jar:indy:2.4.6:compile
+- com.van:programs:jar:0.001-SNAPSHOT:compile
| +- com.googlecode.javaewah:JavaEWAH:jar:1.1.3:compile
| +- com.van:model-utils:jar:0.001-SNAPSHOT:compile
| +- com.van:event-manager:jar:0.001-SNAPSHOT:compile
| +- com.van:storage-flowstore:jar:0.001-SNAPSHOT:compile
| +- com.van:aws-model:jar:0.001-SNAPSHOT:compile
| +- com.van:nsxt-model:jar:0.001-SNAPSHOT:compile
| +- com.van:firewall-model:jar:0.001-SNAPSHOT:compile
| +- com.van:genericdevice-model:jar:0.001-SNAPSHOT:compile
| +- com.van:mapper:jar:0.001-SNAPSHOT:compile
| +- ma.glasnost.orika:orika-core:jar:1.4.2:compile
| | +- com.thoughtworks.paranamer:paranamer:jar:2.3:compile
| | \- com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.2_jdk5:compile
| +- org.javassist:javassist:jar:3.20.0-GA:compile
| +- com.van:denorm-model:jar:0.001-SNAPSHOT:compile
| +- com.van:hp-model:jar:0.001-SNAPSHOT:compile
| +- com.vmw.vapi:vapi-runtime:jar:2.7.0:compile
| \- com.vmw.nsx.sdk:nsx-language-bindings:jar:2.0.0:compile
+- com.van:denorm-programs:jar:0.001-SNAPSHOT:test
| \- com.van:impact:jar:0.001-SNAPSHOT:test
+- com.van:app:jar:0.001-SNAPSHOT:compile
| \- com.van:meta-model:jar:0.001-SNAPSHOT:compile
+- com.van:resourcemanager:jar:0.001-SNAPSHOT:compile
+- com.van:ui-model:jar:0.001-SNAPSHOT:compile
| +- commons-collections:commons-collections:jar:3.2.2:compile
| \- org.unitils:unitils-core:jar:3.3:compile
| \- ognl:ognl:jar:2.6.9:compile
+- com.van:query:jar:0.001-SNAPSHOT:compile
+- com.van.grid:sdmgraph:jar:0.001-SNAPSHOT:compile
| +- commons-configuration:commons-configuration:jar:1.6:compile
| | +- commons-digester:commons-digester:jar:1.8:compile
| | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
| +- commons-cli:commons-cli:jar:1.3.1:compile
| +- org.yaml:snakeyaml:jar:1.13:compile
| +- commons-logging:commons-logging:jar:1.2:compile
| \- commons-logging:commons-logging-api:jar:1.1:compile
+- com.van:programs:jar:tests:0.001-SNAPSHOT:test
+- com.van:snmp:jar:0.001-SNAPSHOT:compile
| +- org.snmp4j:snmp4j:jar:2.4.3:compile
| | \- log4j:log4j:jar:1.2.14:compile
| \- org.snmp4j:snmp4j-agent:jar:2.4.2:compile
+- com.van:components:jar:0.001-SNAPSHOT:compile
| +- javax.mail:javax.mail-api:jar:1.5.6:compile
| \- com.sun.mail:javax.mail:jar:1.5.6:compile
| \- javax.activation:activation:jar:1.1:compile
+- com.amazonaws:aws-java-sdk-ses:jar:1.11.77:compile
| +- com.amazonaws:aws-java-sdk-core:jar:1.11.77:compile
| | \- software.amazon.ion:ion-java:jar:1.0.1:compile
| \- com.amazonaws:jmespath-java:jar:1.11.77:compile
+- com.van:metrics-eval:jar:0.001-SNAPSHOT:compile
+- org.freemarker:freemarker:jar:2.3.20:compile
+- com.van:remote-control:jar:0.001-SNAPSHOT:compile
+- com.codahale.metrics:metrics-core:jar:3.0.1:compile
+- com.codahale.metrics:metrics-healthchecks:jar:3.0.1:compile
+- com.icegreen:greenmail:jar:1.5.5:test
+- com.van:support-request:jar:0.001-SNAPSHOT:compile
| \- com.van:storage-utils:jar:0.001-SNAPSHOT:compile
| \- com.github.fge:json-patch:jar:1.9:compile
| \- com.github.fge:jackson-coreutils:jar:1.6:compile
| \- com.github.fge:msg-simple:jar:1.1:compile
| \- com.github.fge:btf:jar:1.2:compile
+- com.van:dns-request:jar:0.001-SNAPSHOT:compile
+- com.van:service-health:jar:0.001-SNAPSHOT:compile
+- org.apache.httpcomponents:httpclient:jar:4.5.2:compile
+- joda-time:joda-time:jar:2.9.4:compile
+- commons-codec:commons-codec:jar:1.10:compile
+- org.slf4j:slf4j-api:jar:1.7.5:compile
+- org.jsoup:jsoup:jar:1.10.1:compile
+- com.van:syslog:jar:0.001-SNAPSHOT:compile
+- com.van.external-clients:csp:jar:0.001-SNAPSHOT:compile
| +- org.springframework:spring-web:jar:4.3.9.RELEASE:compile
| | \- org.springframework:spring-aop:jar:4.3.9.RELEASE:compile
| +- org.springframework:spring-beans:jar:4.3.9.RELEASE:compile
| +- org.springframework:spring-context:jar:4.3.9.RELEASE:compile
| | \- org.springframework:spring-expression:jar:4.3.9.RELEASE:compile
| \- com.auth0:java-jwt:jar:3.2.0:compile
+- com.van.external-clients:discovery:jar:0.001-SNAPSHOT:compile
+- dnsjava:dnsjava:jar:2.1.7:compile
+- com.univocity:univocity-parsers:jar:2.5.9:compile
+- org.springframework:spring-test:jar:4.3.9.RELEASE:test
| \- org.springframework:spring-core:jar:4.3.9.RELEASE:compile
+- org.codehaus.jettison:jettison:jar:1.3.8:compile
| \- stax:stax-api:jar:1.0.1:compile
+- com.jayway.jsonpath:json-path:jar:0.9.1:compile
| \- net.minidev:json-smart:jar:1.2:compile
+- com.google.guava:guava:jar:23.5-jre:compile
| +- org.checkerframework:checker-qual:jar:2.0.0:compile
| +- com.google.errorprone:error_prone_annotations:jar:2.0.18:compile
| +- com.google.j2objc:j2objc-annotations:jar:1.1:compile
| \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile
+- com.google.code.findbugs:jsr305:jar:2.0.3:provided
+- org.glassfish.jersey.core:jersey-client:jar:2.23.2:compile
| +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:compile
| +- org.glassfish.jersey.core:jersey-common:jar:2.23.2:compile
| | +- javax.annotation:javax.annotation-api:jar:1.2:compile
| | +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.23.2:compile
| | \- org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:compile
| +- org.glassfish.hk2:hk2-api:jar:2.5.0-b05:compile
| | +- org.glassfish.hk2:hk2-utils:jar:2.5.0-b05:compile
| | \- org.glassfish.hk2.external:aopalliance-repackaged:jar:2.5.0-b05:compile
| +- org.glassfish.hk2.external:javax.inject:jar:2.5.0-b05:compile
| \- org.glassfish.hk2:hk2-locator:jar:2.5.0-b05:compile
+- commons-net:commons-net:jar:3.1:compile
+- commons-lang:commons-lang:jar:2.6:compile
+- com.google.code.gson:gson:jar:2.2.4:compile
+- org.apache.commons:commons-jexl:jar:2.1.1:compile
+- com.google.inject:guice:jar:3.0:compile
+- com.google.protobuf:protobuf-java:jar:2.5.0:compile
+- com.googlecode.protobuf-java-format:protobuf-java-format:jar:1.2:compile
+- org.apache.thrift:libthrift:jar:0.9.1:compile
+- com.typesafe.akka:akka-actor_2.11:jar:2.5.8:compile
| +- com.typesafe:config:jar:1.3.2:compile
| \- org.scala-lang.modules:scala-java8-compat_2.11:jar:0.7.0:compile
+- org.quartz-scheduler:quartz:jar:2.2.1:compile
| \- c3p0:c3p0:jar:0.9.1.1:compile
+- com.github.rholder:guava-retrying:jar:1.0.5:compile
+- org.scala-lang:scala-library:jar:2.11.8:compile
+- junit:junit:jar:4.12:test
| \- org.hamcrest:hamcrest-core:jar:1.3:compile
\- org.assertj:assertj-core:jar:3.5.2:test
Can someone let me know what is going wrong? How can I get around this error?
The only way that's possible is if you have mismatched versions of jetty-io and jetty-util classes.
Run this code (in your project) to figure out where the classes are (it will report all locations, even if they are in multiple locations):
public class WhereIsThisComingFrom
{
public static void main(String[] args)
{
locate(ManagedSelector.class);
locate(QueuedThreadPool.class);
}
public static void locate(Class<?> clazz)
{
try
{
ClassLoader cl = clazz.getClassLoader();
String classAsResource = clazz.getName().replace('.', '/') + ".class";
Enumeration<URL> urls = cl.getResources(classAsResource);
System.out.printf("Looking for: %s%n", classAsResource);
while (urls.hasMoreElements())
{
URL url = urls.nextElement();
System.out.printf("Found: %s%n", url.toExternalForm());
}
}
catch (Throwable t)
{
System.out.printf("Whoops: cannot locate: %s%n", clazz);
t.printStackTrace();
}
}
}

Creating SparkSession using Java 1.8 and Spark2.2

I am very new to distributed computing . I an able to run similar code in Spark 2.2 on my local machine without any issue. Now I am trying to do the same in Java and I keep on getting this error. I can create JavaSparkContext and use this object in my code .Issue is when I create SparkSession using builder.
My Local environment is : Window 7 , Spark 2.2 , Java 1.8
My Code looks like
public static void main(String[] args) {
SparkConf sparkConf = new SparkConf();
sparkConf.setAppName("Java-Spark");
sparkConf.setMaster("local");
SparkSession sc= SparkSession.builder().appName("test").master("local[*]").config("spark.driver.cores", 1).getOrCreate();
/* this commented code works fine.
JavaSparkContext context = new JavaSparkContext(sparkConf);
JavaRDD<Integer> numbersRDD = context.parallelize(Arrays.asList(1,2,3));
JavaRDD<Integer> squaresRDD = numbersRDD.map( n -> n*n );
System.out.println("1 :");
System.out.println(squaresRDD.collect().toString());
JavaRDD<Integer> evenRDD = squaresRDD.filter( n -> n%2==0 );
System.out.println("2 :");
System.out.println(evenRDD.collect().toString());
JavaRDD<Integer> multipliedRDD = numbersRDD.flatMap( n->Arrays.asList(n,n*2,n*3).iterator());
System.out.println("3 :");
System.out.println(multipliedRDD.collect().toString());
context.close();
*/
sc.close();
}
I am using Maven to manage dependencies. pom.xml looks like
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>ICC_POC</groupId>
<artifactId>spark</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>spark</name>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.11</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>com.bazaarvoice.jolt</groupId>
<artifactId>jolt-complete</artifactId>
<version>0.1.0</version>
</dependency>
<dependency>
<groupId>com.bazaarvoice.jolt</groupId>
<artifactId>jolt-core</artifactId>
<version>0.1.0</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-launcher_2.11</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-network-common_2.11</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-network-shuffle_2.11</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-unsafe_2.11</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-tags_2.11</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_2.11</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-catalyst_2.11</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sketch_2.11</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-asm5-shaded</artifactId>
<version>4.5</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
</plugin>
</plugins>
</build>
</project>
I am struggling with this error from last 2 days and cannot figure out what I am missing here. Need another pair of eyes to find the issue . Thanks
EDIT: Adding output for mvn dependency:tree
ICC_POC:spark:jar:0.0.1-SNAPSHOT
+- org.apache.spark:spark-core_2.11:jar:2.2.0:compile
| +- org.apache.avro:avro:jar:1.7.7:compile
| | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
| | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
| | +- com.thoughtworks.paranamer:paranamer:jar:2.3:compile
| | \- org.apache.commons:commons-compress:jar:1.4.1:compile
| | \- org.tukaani:xz:jar:1.0:compile
| +- org.apache.avro:avro-mapred:jar:hadoop2:1.7.7:compile
| | +- org.apache.avro:avro-ipc:jar:1.7.7:compile
| | \- org.apache.avro:avro-ipc:jar:tests:1.7.7:compile
| +- com.twitter:chill_2.11:jar:0.8.0:compile
| | \- com.esotericsoftware:kryo-shaded:jar:3.0.3:compile
| | +- com.esotericsoftware:minlog:jar:1.3.0:compile
| | \- org.objenesis:objenesis:jar:2.1:compile
| +- com.twitter:chill-java:jar:0.8.0:compile
| +- org.apache.hadoop:hadoop-client:jar:2.6.5:compile
| | +- org.apache.hadoop:hadoop-common:jar:2.6.5:compile
| | | +- commons-cli:commons-cli:jar:1.2:compile
| | | +- xmlenc:xmlenc:jar:0.52:compile
| | | +- commons-httpclient:commons-httpclient:jar:3.1:compile
| | | +- commons-io:commons-io:jar:2.4:compile
| | | +- commons-collections:commons-collections:jar:3.2.2:compile
| | | +- commons-lang:commons-lang:jar:2.6:compile
| | | +- commons-configuration:commons-configuration:jar:1.6:compile
| | | | +- commons-digester:commons-digester:jar:1.8:compile
| | | | | \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
| | | | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
| | | +- com.google.protobuf:protobuf-java:jar:2.5.0:compile
| | | +- com.google.code.gson:gson:jar:2.2.4:compile
| | | +- org.apache.hadoop:hadoop-auth:jar:2.6.5:compile
| | | | \- org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M15:compile
| | | | +- org.apache.directory.server:apacheds-i18n:jar:2.0.0-M15:compile
| | | | +- org.apache.directory.api:api-asn1-api:jar:1.0.0-M20:compile
| | | | \- org.apache.directory.api:api-util:jar:1.0.0-M20:compile
| | | +- org.apache.curator:curator-client:jar:2.6.0:compile
| | | \- org.htrace:htrace-core:jar:3.0.4:compile
| | +- org.apache.hadoop:hadoop-hdfs:jar:2.6.5:compile
| | | +- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
| | | \- xerces:xercesImpl:jar:2.9.1:compile
| | | \- xml-apis:xml-apis:jar:1.3.04:compile
| | +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.6.5:compile
| | | +- org.apache.hadoop:hadoop-mapreduce-client-common:jar:2.6.5:compile
| | | | +- org.apache.hadoop:hadoop-yarn-client:jar:2.6.5:compile
| | | | \- org.apache.hadoop:hadoop-yarn-server-common:jar:2.6.5:compile
| | | \- org.apache.hadoop:hadoop-mapreduce-client-shuffle:jar:2.6.5:compile
| | +- org.apache.hadoop:hadoop-yarn-api:jar:2.6.5:compile
| | +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.6.5:compile
| | | \- org.apache.hadoop:hadoop-yarn-common:jar:2.6.5:compile
| | | +- javax.xml.bind:jaxb-api:jar:2.2.2:compile
| | | | \- javax.xml.stream:stax-api:jar:1.0-2:compile
| | | +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:compile
| | | \- org.codehaus.jackson:jackson-xc:jar:1.9.13:compile
| | +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:2.6.5:compile
| | \- org.apache.hadoop:hadoop-annotations:jar:2.6.5:compile
| +- net.java.dev.jets3t:jets3t:jar:0.9.3:compile
| | +- org.apache.httpcomponents:httpcore:jar:4.3.3:compile
| | +- org.apache.httpcomponents:httpclient:jar:4.3.6:compile
| | +- commons-codec:commons-codec:jar:1.8:compile
| | +- javax.activation:activation:jar:1.1.1:compile
| | +- mx4j:mx4j:jar:3.0.2:compile
| | +- javax.mail:mail:jar:1.4.7:compile
| | +- org.bouncycastle:bcprov-jdk15on:jar:1.51:compile
| | \- com.jamesmurty.utils:java-xmlbuilder:jar:1.0:compile
| | \- net.iharder:base64:jar:2.3.8:compile
| +- org.apache.curator:curator-recipes:jar:2.6.0:compile
| | +- org.apache.curator:curator-framework:jar:2.6.0:compile
| | +- org.apache.zookeeper:zookeeper:jar:3.4.6:compile
| | \- com.google.guava:guava:jar:16.0.1:compile
| +- javax.servlet:javax.servlet-api:jar:3.1.0:compile
| +- org.apache.commons:commons-lang3:jar:3.5:compile
| +- org.apache.commons:commons-math3:jar:3.4.1:compile
| +- com.google.code.findbugs:jsr305:jar:1.3.9:compile
| +- org.slf4j:slf4j-api:jar:1.7.16:compile
| +- org.slf4j:jul-to-slf4j:jar:1.7.16:compile
| +- org.slf4j:jcl-over-slf4j:jar:1.7.16:compile
| +- log4j:log4j:jar:1.2.17:compile
| +- org.slf4j:slf4j-log4j12:jar:1.7.16:compile
| +- com.ning:compress-lzf:jar:1.0.3:compile
| +- org.xerial.snappy:snappy-java:jar:1.1.2.6:compile
| +- net.jpountz.lz4:lz4:jar:1.3.0:compile
| +- org.roaringbitmap:RoaringBitmap:jar:0.5.11:compile
| +- commons-net:commons-net:jar:2.2:compile
| +- org.scala-lang:scala-library:jar:2.11.8:compile
| +- org.json4s:json4s-jackson_2.11:jar:3.2.11:compile
| | \- org.json4s:json4s-core_2.11:jar:3.2.11:compile
| | +- org.json4s:json4s-ast_2.11:jar:3.2.11:compile
| | \- org.scala-lang:scalap:jar:2.11.0:compile
| | \- org.scala-lang:scala-compiler:jar:2.11.0:compile
| | +- org.scala-lang.modules:scala-xml_2.11:jar:1.0.1:compile
| | \- org.scala-lang.modules:scala-parser-combinators_2.11:jar:1.0.1:compile
| +- org.glassfish.jersey.core:jersey-client:jar:2.22.2:compile
| | +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:compile
| | +- org.glassfish.hk2:hk2-api:jar:2.4.0-b34:compile
| | | +- org.glassfish.hk2:hk2-utils:jar:2.4.0-b34:compile
| | | \- org.glassfish.hk2.external:aopalliance-repackaged:jar:2.4.0-b34:compile
| | +- org.glassfish.hk2.external:javax.inject:jar:2.4.0-b34:compile
| | \- org.glassfish.hk2:hk2-locator:jar:2.4.0-b34:compile
| | \- org.javassist:javassist:jar:3.18.1-GA:compile
| +- org.glassfish.jersey.core:jersey-common:jar:2.22.2:compile
| | +- javax.annotation:javax.annotation-api:jar:1.2:compile
| | +- org.glassfish.jersey.bundles.repackaged:jersey-guava:jar:2.22.2:compile
| | \- org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:compile
| +- org.glassfish.jersey.core:jersey-server:jar:2.22.2:compile
| | +- org.glassfish.jersey.media:jersey-media-jaxb:jar:2.22.2:compile
| | \- javax.validation:validation-api:jar:1.1.0.Final:compile
| +- org.glassfish.jersey.containers:jersey-container-servlet:jar:2.22.2:compile
| +- org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.22.2:compile
| +- io.netty:netty-all:jar:4.0.43.Final:compile
| +- io.netty:netty:jar:3.9.9.Final:compile
| +- com.clearspring.analytics:stream:jar:2.7.0:compile
| +- io.dropwizard.metrics:metrics-core:jar:3.1.2:compile
| +- io.dropwizard.metrics:metrics-jvm:jar:3.1.2:compile
| +- io.dropwizard.metrics:metrics-json:jar:3.1.2:compile
| +- io.dropwizard.metrics:metrics-graphite:jar:3.1.2:compile
| +- com.fasterxml.jackson.core:jackson-databind:jar:2.6.5:compile
| | \- com.fasterxml.jackson.core:jackson-core:jar:2.6.5:compile
| +- com.fasterxml.jackson.module:jackson-module-scala_2.11:jar:2.6.5:compile
| | +- org.scala-lang:scala-reflect:jar:2.11.7:compile
| | \- com.fasterxml.jackson.module:jackson-module-paranamer:jar:2.6.5:compile
| +- org.apache.ivy:ivy:jar:2.4.0:compile
| +- oro:oro:jar:2.0.8:compile
| +- net.razorvine:pyrolite:jar:4.13:compile
| +- net.sf.py4j:py4j:jar:0.10.4:compile
| +- org.apache.commons:commons-crypto:jar:1.0.0:compile
| \- org.spark-project.spark:unused:jar:1.0.0:compile
+- com.bazaarvoice.jolt:jolt-complete:jar:0.1.0:compile
| \- com.bazaarvoice.jolt:json-utils:jar:0.1.0:compile
+- com.bazaarvoice.jolt:jolt-core:jar:0.1.0:compile
| \- javax.inject:javax.inject:jar:1:compile
+- org.apache.spark:spark-launcher_2.11:jar:2.2.0:compile
+- org.apache.spark:spark-network-common_2.11:jar:2.2.0:compile
| +- org.fusesource.leveldbjni:leveldbjni-all:jar:1.8:compile
| \- com.fasterxml.jackson.core:jackson-annotations:jar:2.6.5:compile
+- org.apache.spark:spark-network-shuffle_2.11:jar:2.2.0:compile
+- org.apache.spark:spark-unsafe_2.11:jar:2.2.0:compile
+- org.apache.spark:spark-tags_2.11:jar:2.2.0:compile
+- org.apache.spark:spark-sql_2.11:jar:2.2.0:compile
| +- com.univocity:univocity-parsers:jar:2.2.1:compile
| +- org.apache.parquet:parquet-column:jar:1.8.2:compile
| | +- org.apache.parquet:parquet-common:jar:1.8.2:compile
| | \- org.apache.parquet:parquet-encoding:jar:1.8.2:compile
| \- org.apache.parquet:parquet-hadoop:jar:1.8.2:compile
| +- org.apache.parquet:parquet-format:jar:2.3.1:compile
| \- org.apache.parquet:parquet-jackson:jar:1.8.2:compile
+- org.apache.spark:spark-catalyst_2.11:jar:2.2.0:compile
+- org.apache.spark:spark-sketch_2.11:jar:2.2.0:compile
\- org.apache.xbean:xbean-asm5-shaded:jar:4.5:compile
I am able to resolve this issue. I looked into project dependency generated by mvn and found ANTLR ref was missing. Added it into mvn dependncy list and code started working. Thanks Alexandre Dupriez for pointing it. I had never guess it by myself.

Jetty 9 deploy war with WebAppProvider

I am trying to deploy a war or a directory named root.war.
My code is able to scan and run the war.
But I am not able to access any web services and keep receiving a 404 not found error.
Can someone please tell me what I am doing wrong...
Thanks
ContextHandlerCollection contexts = new ContextHandlerCollection();
HandlerCollection handlers = new HandlerCollection();
handlers.setHandlers(new Handler[] { contexts, new DefaultHandler() });
WebAppProvider webAppProvider = new WebAppProvider();
webAppProvider.setMonitoredDirName( combine( BUILD , STAGING ) );
webAppProvider.setScanInterval( 1 );
DeploymentManager dm = new DeploymentManager();
dm.setContexts( contexts );
dm.setContextAttribute("org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern", ".*/servlet-api-[^/]*\\.jar$");
dm.addAppProvider( webAppProvider );
embeddedServer.addBean( dm );
embeddedServer.setHandler( handlers );
logAndDisplayInfo( "Attempting to start Jetty server");
addConnectors( embeddedServer );
embeddedServer.start();
Following is the log dump I see after putting: server.dumpAfterStart(true);
org.eclipse.jetty.server.Server#25bbe1b6 - STARTING
+= qtp1291286504{STARTED,8<=37<=200,i=1,q=0} - STARTED
| +- 15 qtp1291286504-15-lowPrioritySelector BLOCKED # org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:244) prio=1
| +- 20 qtp1291286504-20-lowPrioritySelector BLOCKED # org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:244) prio=1
| +- 85 qtp1291286504-85-acceptor-0#172f494e-ServerConnector#7a3c99f1{HTTP/1.1,[http/1.1]}{0.0.0.0:8080} RUNNABLE # sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) prio=3
| +- 94 qtp1291286504-94-acceptor-0#61904002-ServerConnector#16b7e04a{SSL,[ssl, http/1.1]}{0.0.0.0:8443} RUNNABLE # sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) prio=3
| +- 19 qtp1291286504-19 RUNNABLE # sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
| +- 17 qtp1291286504-17 RUNNABLE # sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
| +- 76 qtp1291286504-76-acceptor-0#9f892f0-ServerConnector#3ec082a1{SSL,[ssl, http/1.1]}{0.0.0.0:9443} RUNNABLE # sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) prio=3
| +- 74 qtp1291286504-74 RUNNABLE # sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
| +- 95 qtp1291286504-95 TIMED_WAITING # sun.misc.Unsafe.park(Native Method) IDLE
| +- 82 qtp1291286504-82-lowPrioritySelector BLOCKED # org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:244) prio=1
| +- 77 qtp1291286504-77 RUNNABLE # sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
| +- 79 qtp1291286504-79 RUNNABLE # sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
| +- 18 qtp1291286504-18-lowPrioritySelector BLOCKED # org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:244) prio=1
| +- 69 qtp1291286504-69-lowPrioritySelector BLOCKED # org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:244) prio=1
| +- 84 qtp1291286504-84-lowPrioritySelector BLOCKED # org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:244) prio=1
| +- 73 qtp1291286504-73-lowPrioritySelector BLOCKED # org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:244) prio=1
| +- 70 qtp1291286504-70 RUNNABLE # sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
| +- 92 qtp1291286504-92 RUNNABLE # sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
| +- 75 qtp1291286504-75-lowPrioritySelector BLOCKED # org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:244) prio=1
| +- 90 qtp1291286504-90 RUNNABLE # sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
| +- 78 qtp1291286504-78-lowPrioritySelector BLOCKED # org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:244) prio=1
| +- 68 qtp1291286504-68 RUNNABLE # sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
| +- 88 qtp1291286504-88 RUNNABLE # sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
| +- 83 qtp1291286504-83 RUNNABLE # sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
| +- 72 qtp1291286504-72 RUNNABLE # sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
| +- 21 qtp1291286504-21 RUNNABLE # sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
| +- 16 qtp1291286504-16-lowPrioritySelector BLOCKED # org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:244) prio=1
| +- 80 qtp1291286504-80-lowPrioritySelector BLOCKED # org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:244) prio=1
| +- 67 qtp1291286504-67-acceptor-0#6478ae7e-ServerConnector#18811c42{HTTP/1.1,[http/1.1]}{0.0.0.0:90} RUNNABLE # sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) prio=3
| +- jobs
+= ServerConnector#7a3c99f1{HTTP/1.1,[http/1.1]}{0.0.0.0:8080} - STARTED
| +~ org.eclipse.jetty.server.Server#25bbe1b6 - STARTING
| +~ qtp1291286504{STARTED,8<=38<=200,i=2,q=0} - STARTED
| += org.eclipse.jetty.util.thread.ScheduledExecutorScheduler#55fe41ea - STARTED
| +- org.eclipse.jetty.io.ArrayByteBufferPool#7f030c72
| += org.eclipse.jetty.server.ServerConnector$ServerConnectorManager#68d8ae27 - STARTED
| | += org.eclipse.jetty.io.ManagedSelector#18513c23 id=0 keys=0 selected=0 id=0
| | | +- sun.nio.ch.WindowsSelectorImpl#69ea9e1b keys=0
| | += org.eclipse.jetty.io.ManagedSelector#6be50b35 id=1 keys=0 selected=0 id=1
| | | +- sun.nio.ch.WindowsSelectorImpl#606b79f7 keys=0
| | += org.eclipse.jetty.io.ManagedSelector#ce2eaa7 id=2 keys=0 selected=0 id=2
| | | +- sun.nio.ch.WindowsSelectorImpl#6678dc4f keys=0
| | += org.eclipse.jetty.io.ManagedSelector#2166c48a id=3 keys=0 selected=0 id=3
| | +- sun.nio.ch.WindowsSelectorImpl#7610a6e1 keys=0
| += HttpConnectionFactory#1ce24091[HTTP/1.1] - STARTED
| | +- HttpConfiguration#304744a1{32768/8192,8192/8192,https://:8443,[SecureRequestCustomizer#73385d3f]}
| +- sun.nio.ch.ServerSocketChannelImpl[/0:0:0:0:0:0:0:0:8080]
| +- qtp1291286504-85-acceptor-0#172f494e-ServerConnector#7a3c99f1{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
+= org.eclipse.jetty.server.handler.ContextHandlerCollection#6cd7f381[o.e.j.w.WebAppContext#16a0ee18{/<obsucredText>.war,file:///S:/Ent/<obsucredText>/build/staging/<obsucredText>.war/,AVAILABLE}{S:\Ent\<obsucredText>\build\staging\<obsucredText>.war}] - STARTED
| += o.e.j.w.WebAppContext#16a0ee18{/<obsucredText>.war,file:///S:/Ent/<obsucredText>/build/staging/<obsucredText>.war/,AVAILABLE}{S:\Ent\<obsucredText>\build\staging\<obsucredText>.war} - STARTED
| += org.eclipse.jetty.server.session.SessionHandler2113133067==dftMaxIdleSec=1800 - STARTED
| | += org.eclipse.jetty.security.ConstraintSecurityHandler#4e5d5ac1 - STARTED
| | | +- org.eclipse.jetty.security.DefaultAuthenticatorFactory#70777a65
| | | += org.eclipse.jetty.servlet.ServletHandler#236fd411 - STARTED
| | | | += org.eclipse.jetty.servlet.ListenerHolder#402f61f5 - STARTED
| | | | += org.eclipse.jetty.servlet.ListenerHolder#6480a063 - STARTED
| | | | += default#5c13d641==org.eclipse.jetty.servlet.DefaultServlet,jsp=null,order=0,inst=true - STARTED
| | | | | +- aliases=false
| | | | | +- dirAllowed=true
| | | | | +- maxCacheSize=256000000
| | | | | +- maxCachedFileSize=200000000
| | | | | +- welcomeServlets=false
| | | | | +- useFileMappedBuffer=true
| | | | | +- acceptRanges=true
| | | | | +- etags=false
| | | | | +- maxCachedFiles=2048
| | | | | +- redirectWelcome=false
| | | | += jsp#19c47==org.eclipse.jetty.jsp.JettyJspServlet,jsp=null,order=0,inst=true - STARTED
| | | | | +- fork=false
| | | | | +- compilerSourceVM=1.7
| | | | | +- logVerbosityLevel=DEBUG
| | | | | +- compilerTargetVM=1.7
| | | | | +- scratchdir=C:\Users\cs185225\AppData\Local\Temp\jetty-0.0.0.0-90-<obsucredText>.war-_<obsucredText>.war-any-2397625917440130731.dir\jsp
| | | | | +- xpoweredBy=false
| | | | +- [/]=>default
| | | | +- [*.jsp, *.jspf, *.jspx, *.xsp, *.JSP, *.JSPF, *.JSPX, *.XSP]=>jsp
| | | | += org.eclipse.jetty.servlet.ListenerHolder#2f6f4ac4 - STARTED
| | | | += org.eclipse.jetty.servlet.ListenerHolder#727dcc64 - STARTED
| | | | += org.eclipse.jetty.servlet.ListenerHolder#49e62b17 - STARTED
| | | | += Charset Filter - STARTED
| | | | | +- requestEncoding=UTF-8
| | | | += MemberProfileExportServlet#dfb4eea2==com.<obsucredText>.presentation.servlet.ef.MemberProfileExportServlet,jsp=null,order=5,inst=true - STARTED
| | | | += <obsucredText>CSSDownloadServlet#8cb4a90e==com.<obsucredText>.presentation.servlet.ef.<obsucredText>CSSDownloadServlet,jsp=null,order=6,inst=true - STARTED
| | | | += ServiceControlManager#36677185==com.<obsucredText>.enterprise.ServiceControlManagerServlet,jsp=null,order=2,inst=true - STARTED
| | | | += MemberLookupServlet#25bfad1==com.<obsucredText>.presentation.servlet.ef.MemberLookupServlet,jsp=null,order=6,inst=true - STARTED
| | | | +- [/*]/[]==0=>Charset Filter
| | | | +- [/insightws/*]=>CXFServlet
| | | | +- [/initLogging]=>AAInitLog4j
| | | | +- [*.do]=>action
| | | | +- [/servlet/services]=>ServiceControlManager
| | | | +- [/tran/*]=>JerseyREST_TRAN
| | | |
| | | +> null
| | | +> null
| | | +> null
| | | +> []
| | | +> /={TRACE={RoleInfo,F,C[],None}, TRACE.omission={RoleInfo[],None}}
| | += org.eclipse.jetty.server.session.DefaultSessionCache#288409f0[evict=-1,removeUnloadable=false,saveO<obsucredText>eate=false,saveOnInactiveEvict=false] - STARTED
| | | += org.eclipse.jetty.server.session.NullSessionDataStore#7d685f4e[passivating=false,graceSec=3600] - STARTED
| | +~ org.eclipse.jetty.server.session.DefaultSessionIdManager#61eab26b[worker=node0] - STARTED
| += org.eclipse.jetty.servlet.ErrorPageErrorHandler#19ac93d2 - STARTED
| |
| +> WebAppClassLoader=Virtual BackOffice#58d75e99
| | +- file:/S:/Ent/<obsucredText>/build/staging/<obsucredText>.war/WEB-INF/classes/
| | +- file:/S:/Ent/<obsucredText>/build/staging/<obsucredText>.war/WEB-INF/lib/common-annotations.jar
| | +- sun.misc.Launcher$AppClassLoader#18b4aac2
| +> Systemclasses o.e.j.w.WebAppContext#16a0ee18{/<obsucredText>.war,file:///S:/Ent/<obsucredText>/build/staging/<obsucredText>.war/,AVAILABLE}{S:\Ent\<obsucredText>\build\staging\<obsucredText>.war}
| | +- java.
| | +- javax.
| | +- org.w3c.
| | +- org.xml.
| +> Serverclasses o.e.j.w.WebAppContext#16a0ee18{/<obsucredText>.war,file:///S:/Ent/<obsucredText>/build/staging/<obsucredText>.war/,AVAILABLE}{S:\Ent\<obsucredText>\build\staging\<obsucredText>.war}
| | <jetty jars>
| | +- org.eclipse.jdt.
| | +- org.eclipse.jetty.
| | +- org.objectweb.asm.
| +> Configurations o.e.j.w.WebAppContext#16a0ee18{/<obsucredText>.war,file:///S:/Ent/<obsucredText>/build/staging/<obsucredText>.war/,AVAILABLE}{S:\Ent\<obsucredText>\build\staging\<obsucredText>.war}
| | +- org.eclipse.jetty.webapp.WebInfConfiguration#116fc29e
| | +- org.eclipse.jetty.webapp.WebXmlConfiguration#2e426dd2
| | +- org.eclipse.jetty.webapp.MetaInfConfiguration#1a0ffb9b
| | +- org.eclipse.jetty.webapp.FragmentConfiguration#67c0c90b
| | +- org.eclipse.jetty.webapp.JettyWebXmlConfiguration#8549c5f
| +> Handler attributes o.e.j.w.WebAppContext#16a0ee18{/<obsucredText>.war,file:///S:/Ent/<obsucredText>/build/staging/<obsucredText>.war/,AVAILABLE}{S:\Ent\<obsucredText>\build\staging\<obsucredText>.war}
| | +- javax.servlet.context.tempdir=C:\Users\cs185225\AppData\Local\Temp\jetty-0.0.0.0-90-<obsucredText>.war-_<obsucredText>.war-any-2397625917440130731.dir
| | +- org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern=.*/servlet-api-[^/]*\.jar$
| | +- org.eclipse.jetty.server.Executor=qtp1291286504{STARTED,8<=38<=200,i=2,q=0}
| | +- org.apache.catalina.jsp_classpath=S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\classes;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\abdera-core-1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\abdera-extensions-json-1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\abdera-extensions-main-1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\abdera-i18n-1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\abdera-parser-1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\activation-1.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\antlr-2.7.7.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\aopalliance-1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\apache-log4j-extras-1.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\apache-log4j-receivers-1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\asm-2.2.3.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\asm-attrs-1.5.3.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\axiom-api-1.2.7.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\axiom-impl-1.2.7.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\batik-awt-util.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\batik-dom.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\batik-svggen.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\batik-util.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\batik-xml.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\bcmail-jdk15on-1.47.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\bcpkix-jdk15on-1.52.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\bcprov-jdk15on-1.52.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\bsf-2.3.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\bsh-2.0b4.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\byte-buddy-1.6.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\byte-buddy-agent-1.6.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\cewolf.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\cglib-2.1_3.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\common-annotations.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-beanutils-1.8.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-chain-1.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-cli-1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-cli.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-codec-1.7.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-collections-3.2.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-digester-1.8.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-el.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-fileupload-1.1.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-httpclient-3.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-io-1.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-lang-2.4.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-logging-1.0.4.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-logging-1.1.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-logging-api.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-pool-1.5.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-pool2-2.3.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\commons-validator-1.3.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\cxf-bundle-2.2.10.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\dom4j-1.6.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\ehcache-1.2.3.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\enterprise-core-1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\ezmorph-1.0.5.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\geronimo-activation_1.1_spec-1.0.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\geronimo-annotation_1.0_spec-1.1.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\geronimo-jaxws_2.1_spec-1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\geronimo-jms_1.1_spec-1.1.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\geronimo-servlet_2.5_spec-1.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\geronimo-stax-api_1.0_spec-1.0.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\geronimo-ws-metadata_2.0_spec-1.1.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\groovy-all-2.4.4.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\gson-2.2.4.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\hibernate-3.2.1.ga.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\hibernate-commons-annotations-3.3.0.ga.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\hibernate-validator-4.1.0.Final.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jackson-annotations-2.1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jackson-core-2.1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jackson-core-asl-1.9.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jackson-databind-2.1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jackson-jaxrs-1.9.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jackson-mapper-asl-1.9.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jackson-xc-1.9.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jasperreports-4.1.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jaxb-api-2.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jaxb-impl-2.1.13.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jaxb-xjc-2.1.13.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jaxen-1.1.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jdbm-1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jdom-1.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jdom.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\je-4.1.7.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jedis-2.6.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jersey-bundle-1.18.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jersey-json-1.18.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jersey-test-framework-core-1.18.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jersey-test-framework-http-1.18.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jettison-1.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jfreechart-0.9.21.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jline-0.9.94.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jpos-1.8.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jra-1.0-alpha-4.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\js-1.7R1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\json-lib-2.2.2-jdk15.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\json-smart-1.3.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jstl-1.0.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\jtds-1.2.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\junit-4.10.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\junitperf-1.9.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\log4j-1.2.16.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\lz4-1.2.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\mockito-core-2.6.3.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\mybatis-3.0.6.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\neethi-2.0.4.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\nimbus-jose-jwt-4.26.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\objenesis-2.5.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\oro-2.0.8.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\passkit4j-2.0.2-<obsucredText>.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\persistence-api-1.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\primrose.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\quartz-2.2.3.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\reflections-0.9.10.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\saaj-api-1.3.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\saaj-impl-1.3.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\saxon-9.1.0.8.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\saxon-dom-9.1.0.8.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\saxon9-dom.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\serializer-2.7.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\slf4j-api-1.5.8.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\slf4j-jdk14-1.5.8.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\slf4j-nop-1.5.6.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\spock-core-1.0-groovy-2.4.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\spring-beans-2.5.6.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\spring-context-2.5.6.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\spring-context-support-2.5.6.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\spring-core-2.5.6.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\spring-jms-2.5.6.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\spring-tx-2.5.6.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\spring-web-2.5.6.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\standard-1.0.6.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\standard.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\struts-core-1.3.10.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\struts-el-1.3.10.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\struts-extras-1.3.10.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\struts-taglib-1.3.10.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\struts-tiles-1.3.10.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\urlrewritefilter.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\validation-api-1.0.0.GA.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\velocity-1.6.4.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\wsdl4j-1.6.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\wss4j-1.5.8.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\wstx-asl-3.2.9.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\xalan-2.7.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\xercesImpl-2.9.1.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\xercesImpl.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\xml-apis-1.3.04.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\xml-apis.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\xml-resolver-1.2.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\xmlbeans-2.4.0.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\XmlSchema-1.4.5.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\xmlsec-1.4.3.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\xpp3_min-1.1.4c.jar;S:\Ent\<obsucredText>\build\staging\<obsucredText>.war\WEB-INF\lib\xstream-1.3.1.jar
| +> Context attributes o.e.j.w.WebAppContext#16a0ee18{/<obsucredText>.war,file:///S:/Ent/<obsucredText>/build/staging/<obsucredText>.war/,AVAILABLE}{S:\Ent\<obsucredText>\build\staging\<obsucredText>.war}
| | +- org.eclipse.jetty.util.DecoratedObjectFactory=org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1]
| | +- org.apache.struts.action.MESSAGE=org.apache.struts.util.PropertyMessageResources#35454c7a
| | +- resourceCache=ResourceCache[null,org.eclipse.jetty.servlet.DefaultServlet#50f3ba6a]#832219630
| | +- rpcRouter=org.apache.soap.server.RPCRouter#1d806de6
| | +- org.apache.struts.action.MODULE=org.apache.struts.config.impl.ModuleConfigImpl#2b9d4b0
| | +- org.apache.struts.action.PLUG_INS=[Lorg.apache.struts.action.PlugIn;#4f541e67
| | +- allAppenders=[org.apache.log4j.DailyRollingFileAppender#2be50bba, org.apache.log4j.DailyRollingFileAppender#3514ac7d, org.apache.log4j.DailyRollingFileAppender#79c4f23b]
| | +- org.springframework.web.context.WebApplicationContext.ROOT=org.springframework.web.context.support.XmlWebApplicationContext#601cbd8c: display name [Root WebApplicationContext]; startup date [Thu Jun 08 16:56:29 CDT 2017]; root of context hierarchy
| | +- org.apache.struts.globals.MODULE_PREFIXES=[Ljava.lang.String;#160c7c42
| | +- org.apache.struts.action.SERVLET_MAPPING=*.do
| | +- org.apache.struts.action.ACTION_SERVLET=org.apache.struts.action.ActionServlet#15371de2
| | +- serviceManager=org.apache.soap.server.ServiceManager#5503c7d
| +> Initparams o.e.j.w.WebAppContext#16a0ee18{/<obsucredText>.war,file:///S:/Ent/<obsucredText>/build/staging/<obsucredText>.war/,AVAILABLE}{S:\Ent\<obsucredText>\build\staging\<obsucredText>.war}
| +- javax.faces.DEFAULT_SUFFIX=.xhtml
| +- com.<obsucredText>.presentation.jsf.phaselistener.phaseTracker.cphase=ANY_PHASE
| +- com.sun.faces.numberOfLogicalViews=0
| +- facelets.DEVELOPMENT=true
| +- javax.servlet.jsp.jstl.fmt.localizationContext=com.<obsucredText>.presentation.resources.LoggingResources
| +- facelets.REFRESH_PERIOD=-1
| +- facelets.LIBRARIES=/WEB-INF/facelets/tag-af.xml
| +- contextConfigLocation=WEB-INF/beans.xml
| +- com.sun.faces.verifyObjects=true
| +- com.sun.faces.validateXml=true
| +- javax.faces.STATE_SAVING_METHOD=client
| +- org.ajax4jsf.handleViewExpiredOnClient=true
| +- org.richfaces.SKIN=<obsucredText>
+= org.eclipse.jetty.deploy.DeploymentManager#5b5b53c6 - STARTED
| +~ org.eclipse.jetty.deploy.providers.WebAppProvider#2ec0ca83 - STARTED
+= org.eclipse.jetty.server.handler.ErrorHandler#3350ab4 - STARTED
+- {}
+- {}
+- {}
+= org.eclipse.jetty.server.session.DefaultSessionIdManager#61eab26b[worker=node0] - STARTED
| += org.eclipse.jetty.server.session.HouseKeeper#7827d7b[interval=600000, ownscheduler=true] - STARTED
|
+> sun.misc.Launcher$AppClassLoader#18b4aac2

Categories