Jetty issue with getHeaders - java

I've recently upgraded Apache WAMP on my local and now Jetty is having a problem with every request.
The issue is as below, but I don't know enough about Jetty to work out what the problem is with getHeaders and can't find anything similar.
This only appears to happen when I'm trying to load JSON in the browser, i.e. PrimeFaces etc is loading correctly
Anyone help me debug this?
Tue Oct 04 10:55:22 NZDT 2016 WARN: Establishing SSL connection
without server's identity verification is not recommended. According
to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must
be established by default if explicit option isn't set. For compliance
with existing applications not using SSL the verifyServerCertificate
property is set to 'false'. You need either to explicitly disable SSL
by setting useSSL=false, or set useSSL=true and provide truststore for
server certificate verification.
HTTP ERROR 500
Problem accessing /guide/362/json. Reason:
org.mortbay.jetty.Response.getHeaders(Ljava/lang/String;)Ljava/util/Collection;
Caused by:
java.lang.AbstractMethodError: org.mortbay.jetty.Response.getHeaders(Ljava/lang/String;)Ljava/util/Collection;
at org.springframework.http.server.ServletServerHttpResponse$ServletResponseHttpHeaders.get(ServletServerHttpResponse.java:161)
at org.springframework.http.server.ServletServerHttpResponse$ServletResponseHttpHeaders.containsKey(ServletServerHttpResponse.java:143)
at org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor.handleReturnValue(HttpEntityMethodProcessor.java:170)
at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:81)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:130)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308)
at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
POM.XML
Ahh I notice
[main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
[main] INFO org.mortbay.log - jetty-6.1.x
When the app starts.. OK I'm using an old version of Jetty
Dependency tree
[INFO] --- maven-dependency-plugin:2.3:tree (default-cli) # beek-admin ---
[INFO] artifact org.glassfish:javax.el: checking for updates from central
[INFO] artifact org.glassfish:javax.el: checking for updates from sonatype-snaps
hots
[INFO] co.beek:beek-admin:war:1.0-SNAPSHOT
[INFO] +- org.springframework:spring-core:jar:4.3.1.RELEASE:compile
[INFO] | \- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- org.springframework:spring-webmvc:jar:4.3.1.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:4.3.1.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:4.3.1.RELEASE:compile
[INFO] | \- org.springframework:spring-expression:jar:4.3.1.RELEASE:compile
[INFO] +- org.springframework:spring-context:jar:4.3.1.RELEASE:compile
[INFO] +- org.springframework.integration:spring-integration-mail:jar:4.3.0.RELE
ASE:compile
[INFO] | +- org.springframework.integration:spring-integration-core:jar:4.3.0.R
ELEASE:compile
[INFO] | | +- org.springframework.retry:spring-retry:jar:1.1.2.RELEASE:compile
[INFO] | | \- org.springframework:spring-messaging:jar:4.3.0.RELEASE:compile
[INFO] | \- org.springframework:spring-context-support:jar:4.3.0.RELEASE:compil
e
[INFO] +- org.springframework:spring-web:jar:4.3.1.RELEASE:compile
[INFO] +- org.springframework:spring-jdbc:jar:4.3.1.RELEASE:compile
[INFO] | \- org.springframework:spring-tx:jar:4.3.1.RELEASE:compile
[INFO] +- org.springframework:spring-orm:jar:4.3.1.RELEASE:compile
[INFO] +- org.hibernate:hibernate-core:jar:3.6.10.Final:compile
[INFO] | +- antlr:antlr:jar:2.7.6:compile
[INFO] | +- commons-collections:commons-collections:jar:3.1:compile
[INFO] | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | +- org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final:compile
[INFO] | +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Fin
al:compile
[INFO] | \- javax.transaction:jta:jar:1.1:compile
[INFO] +- org.hibernate:hibernate-validator:jar:4.3.2.Final:compile
[INFO] | +- javax.validation:validation-api:jar:1.0.0.GA:compile
[INFO] | \- org.jboss.logging:jboss-logging:jar:3.1.0.CR2:compile
[INFO] +- org.aspectj:aspectjweaver:jar:1.8.9:compile
[INFO] +- net.java.dev.jets3t:jets3t:jar:0.8.1:compile
[INFO] | +- commons-codec:commons-codec:jar:1.3:compile
[INFO] | +- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] | \- com.jamesmurty.utils:java-xmlbuilder:jar:0.4:compile
[INFO] +- com.amazonaws:aws-java-sdk:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-support:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-simpledb:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-simpleworkflow:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-storagegateway:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-route53:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-s3:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-importexport:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-sts:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-sqs:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-rds:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-redshift:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-elasticbeanstalk:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-glacier:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-iam:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-datapipeline:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-elasticloadbalancing:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-emr:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-elasticache:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-elastictranscoder:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-ec2:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-dynamodb:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-sns:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-cloudtrail:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-cloudwatch:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-logs:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-events:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-cognitoidentity:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-cognitosync:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-directconnect:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-cloudformation:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-cloudfront:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-kinesis:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-opsworks:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-ses:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-autoscaling:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-cloudsearch:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-cloudwatchmetrics:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-swf-libraries:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-codedeploy:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-codepipeline:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-kms:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-config:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-lambda:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-ecs:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-ecr:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-cloudhsm:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-ssm:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-workspaces:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-machinelearning:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-directory:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-efs:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-codecommit:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-devicefarm:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-elasticsearch:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-waf:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-marketplacecommerceanalytics:jar:1.10.77
:compile
[INFO] | +- com.amazonaws:aws-java-sdk-inspector:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-iot:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-api-gateway:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-acm:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-gamelift:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-dms:jar:1.10.77:compile
[INFO] | +- com.amazonaws:aws-java-sdk-marketplacemeteringservice:jar:1.10.77:c
ompile
[INFO] | +- com.amazonaws:aws-java-sdk-cognitoidp:jar:1.10.77:compile
[INFO] | \- com.amazonaws:aws-java-sdk-core:jar:1.10.77:compile
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.3.6:compile
[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.3.3:compile
[INFO] | +- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.5
.3:compile
[INFO] | \- joda-time:joda-time:jar:2.8.1:compile
[INFO] +- org.primefaces:primefaces:jar:5.3:compile
[INFO] +- org.primefaces.extensions:all-themes:pom:1.0.8:compile
[INFO] | +- org.primefaces.themes:afterdark:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:afternoon:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:afterwork:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:black-tie:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:blitzer:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:bluesky:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:bootstrap:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:casablanca:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:cruze:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:cupertino:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:dark-hive:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:dot-luv:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:eggplant:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:excite-bike:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:flick:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:glass-x:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:hot-sneaks:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:humanity:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:le-frog:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:midnight:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:mint-choc:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:overcast:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:pepper-grinder:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:redmond:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:rocket:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:sam:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:smoothness:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:south-street:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:start:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:sunny:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:swanky-purse:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:trontastic:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:ui-darkness:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:ui-lightness:jar:1.0.8:runtime
[INFO] | +- org.primefaces.themes:vader:jar:1.0.8:runtime
[INFO] | \- org.primefaces.themes:home:jar:1.0.8:runtime
[INFO] +- javax.mail:mail:jar:1.4.7:compile
[INFO] | \- javax.activation:activation:jar:1.1:compile
[INFO] +- org.eclipse.jetty:jetty-server:jar:9.4.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-webapp:jar:9.4.0.M0:compile
[INFO] | \- org.eclipse.jetty:jetty-xml:jar:9.4.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-deploy:jar:9.4.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-http:jar:9.4.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-io:jar:9.4.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-jsp:jar:9.3.0.M1:compile
[INFO] | +- org.eclipse.jetty.toolchain:jetty-schemas:jar:3.1.M0:compile
[INFO] | +- javax.servlet.jsp:javax.servlet.jsp-api:jar:2.3.1:compile
[INFO] | +- org.glassfish.web:javax.servlet.jsp:jar:2.3.2:compile
[INFO] | +- org.eclipse.jetty.orbit:javax.servlet.jsp.jstl:jar:1.2.0.v201105211
821:compile
[INFO] | +- org.glassfish.web:javax.servlet.jsp.jstl:jar:1.2.2:compile
[INFO] | +- org.glassfish:javax.el:jar:3.0.0:compile
[INFO] | \- org.eclipse.jetty.orbit:org.eclipse.jdt.core:jar:3.8.2.v20130121:co
mpile
[INFO] +- org.eclipse.jetty:jetty-rewrite:jar:9.4.0.M0:compile
[INFO] | \- org.eclipse.jetty:jetty-client:jar:9.4.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-overlay-deployer:jar:9.1.0.M0:compile
[INFO] | \- org.eclipse.jetty:jetty-plus:jar:9.1.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-servlet:jar:9.4.0.M0:compile
[INFO] | \- org.eclipse.jetty:jetty-security:jar:9.4.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-annotations:jar:9.4.0.M0:compile
[INFO] | +- javax.annotation:javax.annotation-api:jar:1.2:compile
[INFO] | +- org.ow2.asm:asm:jar:5.0.1:compile
[INFO] | \- org.ow2.asm:asm-commons:jar:5.0.1:compile
[INFO] | \- org.ow2.asm:asm-tree:jar:5.0.1:compile
[INFO] +- org.eclipse.jetty:jetty-servlets:jar:9.4.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-spring:jar:9.4.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-util:jar:9.4.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-jndi:jar:9.4.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-continuation:jar:9.4.0.M0:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.7.21:compile
[INFO] +- org.slf4j:slf4j-simple:jar:1.7.21:compile
[INFO] +- javax.inject:javax.inject:jar:1:compile
[INFO] +- org.apache.sanselan:sanselan:jar:0.97-incubator:compile
[INFO] +- net.sf.flexjson:flexjson:jar:2.1:compile
[INFO] +- com.googlecode.charts4j:charts4j:jar:1.3:compile
[INFO] +- com.google.gdata:core:jar:1.47.1:compile
[INFO] | +- com.google.guava:guava:jar:13.0.1:compile
[INFO] | +- com.google.oauth-client:google-oauth-client-jetty:jar:1.11.0-beta:c
ompile
[INFO] | | +- com.google.oauth-client:google-oauth-client-java6:jar:1.11.0-bet
a:compile
[INFO] | | \- org.mortbay.jetty:jetty:jar:6.1.26:compile
[INFO] | | \- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
[INFO] | \- com.google.code.findbugs:jsr305:jar:1.3.7:compile
[INFO] +- com.google.code.gson:gson:jar:2.1:compile
[INFO] +- com.google.api-client:google-api-client:jar:1.22.0:compile
[INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.22.0:compile
[INFO] | | \- com.google.http-client:google-http-client:jar:1.22.0:compile
[INFO] | +- com.google.http-client:google-http-client-jackson2:jar:1.22.0:compi
le
[INFO] | \- com.google.guava:guava-jdk5:jar:17.0:compile
[INFO] +- com.google.api-client:google-api-client-gson:jar:1.20.0:compile
[INFO] | \- com.google.http-client:google-http-client-gson:jar:1.20.0:compile
[INFO] +- com.google.apis:google-api-services-analytics:jar:v3-rev116-1.20.0:com
pile
[INFO] +- commons-fileupload:commons-fileupload:jar:1.2.2:compile
[INFO] +- commons-lang:commons-lang:jar:2.6:compile
[INFO] +- com.sun.faces:jsf-api:jar:2.2.13:compile
[INFO] +- com.sun.faces:jsf-impl:jar:2.2.13:compile
[INFO] +- org.bytedeco.javacpp-presets:opencv:jar:2.4.10-0.10:compile
[INFO] +- org.bytedeco:javacpp:jar:0.10:compile
[INFO] +- com.itextpdf:itextpdf:jar:5.5.9:compile
[INFO] +- org.bytedeco:javacv:jar:1.2:compile
[INFO] | +- org.bytedeco.javacpp-presets:ffmpeg:jar:3.0.2-1.2:compile
[INFO] | | \- org.bytedeco.javacpp-presets:ffmpeg:jar:windows-x86_64:3.0.2-1.2
:compile
[INFO] | +- org.bytedeco.javacpp-presets:flycapture:jar:2.9.3.43-1.2:compile
[INFO] | | \- org.bytedeco.javacpp-presets:flycapture:jar:windows-x86_64:2.9.3
.43-1.2:compile
[INFO] | +- org.bytedeco.javacpp-presets:libdc1394:jar:2.2.4-1.2:compile
[INFO] | | \- org.bytedeco.javacpp-presets:libdc1394:jar:windows-x86_64:2.2.4-
1.2:compile
[INFO] | +- org.bytedeco.javacpp-presets:libfreenect:jar:0.5.3-1.2:compile
[INFO] | | \- org.bytedeco.javacpp-presets:libfreenect:jar:windows-x86_64:0.5.
3-1.2:compile
[INFO] | +- org.bytedeco.javacpp-presets:videoinput:jar:0.200-1.2:compile
[INFO] | | \- org.bytedeco.javacpp-presets:videoinput:jar:windows-x86_64:0.200
-1.2:compile
[INFO] | +- org.bytedeco.javacpp-presets:artoolkitplus:jar:2.3.1-1.2:compile
[INFO] | | \- org.bytedeco.javacpp-presets:artoolkitplus:jar:windows-x86_64:2.
3.1-1.2:compile
[INFO] | \- org.bytedeco.javacpp-presets:flandmark:jar:1.07-1.2:compile
[INFO] | \- org.bytedeco.javacpp-presets:flandmark:jar:windows-x86_64:1.07-1
.2:compile
[INFO] +- commons-io:commons-io:jar:2.5:compile
[INFO] +- org.imgscalr:imgscalr-lib:jar:4.2:compile
[INFO] +- org.twitter4j:twitter4j-core:jar:4.0.4:compile
[INFO] +- org.atmosphere:atmosphere-runtime:jar:2.4.5:compile
[INFO] +- com.googlecode.mp4parser:isoparser:jar:1.1.7:compile
[INFO] | \- org.aspectj:aspectjrt:jar:1.8.2:compile
[INFO] +- mysql:mysql-connector-java:jar:6.0.3:compile
[INFO] +- org.glassfish.web:el-impl:jar:2.2.1-b05:compile
[INFO] | \- javax.el:el-api:jar:2.2.1-b04:compile
[INFO] +- javax.servlet:javax.servlet-api:jar:3.0.1:provided (scope not updated
to compile)
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.8.1:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.8.1:compile
[INFO] +- com.fasterxml.jackson.core:jackson-annotations:jar:2.8.1:compile
[INFO] +- org.javassist:javassist:jar:3.20.0-GA:compile
[INFO] \- junit:junit:jar:3.8.1:test
I have this in my POM, sorry I didn't develop this I'm not entirely sure what's going on!
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<id>jetty-classpath</id>
<phase>prepare-package</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeGroupIds>org.mortbay.jetty,javax.servlet,org.slf4j</includeGroupIds>
<excludeArtifactIds>jsp-api,jstl</excludeArtifactIds>
<excludes>META-INF/ECLIPSEF.*</excludes>
<outputDirectory>
${project.build.directory}/${project.artifactId}-${project.version}
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>

Related

OpenType not showing the package org.w3c.dom from the dependencies that have been added

I'm upgrading from java 11 to 17, and there is one issue which says The package org.w3c.dom is accessible from more than one module: , java.xml . While searching on stackoverflow, i got one solution to find the transitive dependency and remove it from pom by exclusion tag, but open type is not showing any such package.
Please refer this image enter image description here that depicts that Node class and only one package which is within jdk 17 and no other dependency is having the same package, but still this issue is there enter image description here.I have checked my project and org.w3c.dom package is not present in 3rd party libs or added by any transitive dependencies in the project jars.
EDIT - 1 output of mvn dependency :tree
com.apc:designportal:war:22.1.2
[INFO] +- org.springframework:spring-aop:jar:5.3.19:compile
[INFO] +- org.springframework:spring-expression:jar:5.3.19:compile
[INFO] +- org.springframework:spring-beans:jar:5.3.19:compile
[INFO] +- org.springframework:spring-context:jar:5.3.19:compile
[INFO] +- org.springframework:spring-context-support:jar:5.3.19:compile
[INFO] +- org.springframework:spring-core:jar:5.3.19:compile
[INFO] | \- org.springframework:spring-jcl:jar:5.3.19:compile
[INFO] +- org.springframework:spring-web:jar:5.3.19:compile
[INFO] +- org.springframework:spring-webmvc:jar:5.3.19:compile
[INFO] +- org.springframework:spring-orm:jar:5.3.19:compile
[INFO] | +- org.springframework:spring-jdbc:jar:5.3.19:compile
[INFO] | \- org.springframework:spring-tx:jar:5.3.19:compile
[INFO] +- org.springframework:spring-test:jar:5.3.19:test
[INFO] +- org.springframework.security:spring-security-config:jar:5.7.1:compile
[INFO] | \- org.springframework.security:spring-security-core:jar:5.7.1:compile
[INFO] | \- org.springframework.security:spring-security-crypto:jar:5.7.1:compile
[INFO] +- org.springframework.security:spring-security-web:jar:5.7.1:compile
[INFO] +- org.springframework.security.extensions:spring-security-saml2-core:jar:1.0.3.RELEASE:compile
[INFO] | \- org.opensaml:opensaml:jar:2.6.1:compile
[INFO] | +- org.opensaml:openws:jar:1.5.1:compile
[INFO] | | +- org.opensaml:xmltooling:jar:1.4.1:compile
[INFO] | | | +- org.bouncycastle:bcprov-jdk15:jar:1.46:compile
[INFO] | | | \- ca.juliusdavies:not-yet-commons-ssl:jar:0.3.9:compile
[INFO] | | \- org.apache.santuario:xmlsec:jar:1.5.6:compile
[INFO] | +- org.apache.velocity:velocity:jar:1.7:compile
[INFO] | +- org.owasp.esapi:esapi:jar:2.0.1:compile
[INFO] | +- xalan:serializer:jar:2.7.1:runtime
[INFO] | \- xml-resolver:xml-resolver:jar:1.2:runtime
[INFO] +- org.json:json:jar:20171018:compile
[INFO] +- displaytag:displaytag:jar:1.2:compile
[INFO] | +- commons-collections:commons-collections:jar:3.1:compile
[INFO] | \- commons-lang:commons-lang:jar:2.3:compile
[INFO] +- asm:asm-attrs:jar:1.5.3:compile
[INFO] +- asm:asm:jar:3.3.1:compile
[INFO] +- cglib:cglib:jar:2.2:compile
[INFO] +- org.aspectj:aspectjrt:jar:1.6.5:compile
[INFO] +- org.aspectj:aspectjweaver:jar:1.6.5:compile
[INFO] +- org.hibernate:hibernate-validator:jar:5.4.0.Final:compile
[INFO] | +- javax.validation:validation-api:jar:1.1.0.Final:compile
[INFO] | \- com.fasterxml:classmate:jar:1.3.1:compile
[INFO] +- org.hibernate:hibernate-core:jar:5.4.0.Final:compile
[INFO] | +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
[INFO] | +- javax.persistence:javax.persistence-api:jar:2.2:compile
[INFO] | +- org.javassist:javassist:jar:3.24.0-GA:compile
[INFO] | +- net.bytebuddy:byte-buddy:jar:1.9.5:compile
[INFO] | +- antlr:antlr:jar:2.7.7:compile
[INFO] | +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.1.1.Final:compile
[INFO] | +- org.jboss:jandex:jar:2.0.5.Final:compile
[INFO] | +- javax.activation:javax.activation-api:jar:1.2.0:compile
[INFO] | +- org.dom4j:dom4j:jar:2.1.1:compile
[INFO] | +- org.hibernate.common:hibernate-commons-annotations:jar:5.1.0.Final:compile
[INFO] | +- javax.xml.bind:jaxb-api:jar:2.3.1:compile
[INFO] | \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.1:compile
[INFO] | +- org.glassfish.jaxb:txw2:jar:2.3.1:compile
[INFO] | +- com.sun.istack:istack-commons-runtime:jar:3.0.7:compile
[INFO] | +- org.jvnet.staxex:stax-ex:jar:1.8:compile
[INFO] | \- com.sun.xml.fastinfoset:FastInfoset:jar:1.2.15:compile
[INFO] +- org.hibernate:hibernate-ehcache:jar:5.4.0.Final:compile
[INFO] +- net.sf.ehcache:ehcache:jar:2.10.1:compile
[INFO] +- org.apache.tapestry:tapestry-core:jar:5.2.6:compile
[INFO] | +- org.apache.tapestry:tapestry-ioc:jar:5.2.6:compile
[INFO] | | +- org.apache.tapestry:tapestry5-annotations:jar:5.2.6:compile
[INFO] | | \- org.apache.tapestry:tapestry-func:jar:5.2.6:compile
[INFO] | +- org.apache.tapestry:tapestry-json:jar:5.2.6:compile
[INFO] | \- org.antlr:antlr-runtime:jar:3.1.1:compile
[INFO] +- javax.servlet:javax.servlet-api:jar:3.0.1:provided
[INFO] +- javax.servlet:jsp-api:jar:2.0:provided
[INFO] | \- javax.servlet:servlet-api:jar:2.4:compile
[INFO] +- jstl:jstl:jar:1.2:compile
[INFO] +- javax.mail:mail:jar:1.4.2:compile
[INFO] +- javax.transaction:jta:jar:1.1:compile
[INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] +- javax.xml.ws:jaxws-api:jar:2.2.6:compile
[INFO] | +- javax.xml.soap:saaj-api:jar:1.3.4:compile
[INFO] | | \- javax.activation:activation:jar:1.1:compile
[INFO] | +- org.glassfish:javax.annotation:jar:3.1.1:runtime
[INFO] | \- javax.jws:jsr181-api:jar:1.0-MR1:runtime
[INFO] +- javax.jws:javax.jws-api:jar:1.1:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] +- commons-logging:commons-logging:jar:1.1:compile
[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.17.1:compile
[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.17.1:compile
[INFO] +- org.apache.commons:commons-pool2:jar:2.6.0:compile
[INFO] +- joda-time:joda-time:jar:2.10.1:compile
[INFO] +- commons-beanutils:commons-beanutils-bean-collections:jar:1.8.3:compile
[INFO] +- commons-beanutils:commons-beanutils-core:jar:1.8.3:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.3.2:compile
[INFO] +- com.googlecode.jsontoken:jsontoken:jar:1.0:compile
[INFO] | +- com.google.collections:google-collections:jar:1.0:compile
[INFO] | \- org.apache.httpcomponents:httpcore:jar:4.0.1:compile
[INFO] +- commons-codec:commons-codec:jar:1.9:compile
[INFO] +- junit:junit:jar:4.12:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.easymock:easymock:jar:4.0.2:test
[INFO] | \- org.objenesis:objenesis:jar:3.0.1:test
[INFO] +- org.easymock:easymockclassextension:jar:3.2:test
[INFO] +- com.microsoft.sqlserver:mssql-jdbc:jar:8.2.2.jre11:compile
[INFO] +- com.gutor.configurators.validator:gutor-design-validator:jar:0.0.1:compile
[INFO] +- net.sf.jasperreports:jasperreports:jar:5.1.0:compile
[INFO] | +- commons-beanutils:commons-beanutils:jar:1.8.0:compile
[INFO] | +- commons-digester:commons-digester:jar:2.1:compile
[INFO] | +- com.lowagie:itext:jar:2.1.7.js2:compile
[INFO] | \- eclipse:jdtcore:jar:3.1.0:compile
[INFO] +- ar.com.fdvs:DynamicJasper:jar:4.0.4:compile
[INFO] +- org.apache.poi:poi:jar:4.1.2:compile
[INFO] | +- org.apache.commons:commons-math3:jar:3.6.1:compile
[INFO] | \- com.zaxxer:SparseBitSet:jar:1.2:compile
[INFO] +- org.apache.commons:commons-collections4:jar:4.1:compile
[INFO] +- com.apc.oracle.pricing:oracle-ws:jar:1.0:compile
[INFO] +- com.apc.oracle.pricing:http_client:jar:1.0:compile
[INFO] +- com.apc.designtools:dp-configurator-integration:jar:0.4:compile
[INFO] +- com.apc.designtools:dp-quotingsystem-integration:jar:0.4:compile
[INFO] +- org.jdom:jdom:jar:1.1:compile
[INFO] +- axis:axis:jar:1.4:compile
[INFO] | +- org.apache.axis:axis-jaxrpc:jar:1.4:compile
[INFO] | +- org.apache.axis:axis-saaj:jar:1.4:compile
[INFO] | \- commons-discovery:commons-discovery:jar:0.2:runtime
[INFO] +- axis:axis-wsdl4j:jar:1.5.1:compile
[INFO] +- org.apache.axis2:axis2-adb:jar:1.4.1:compile
[INFO] | +- org.apache.axis2:axis2-kernel:jar:1.4.1:compile
[INFO] | | +- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] | | +- commons-fileupload:commons-fileupload:jar:1.2:compile
[INFO] | | +- backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[INFO] | | +- org.apache.ws.commons.schema:XmlSchema:jar:1.4.2:compile
[INFO] | | \- org.apache.neethi:neethi:jar:2.0.4:compile
[INFO] | +- org.apache.ws.commons.axiom:axiom-api:jar:1.2.7:compile
[INFO] | | \- jaxen:jaxen:jar:1.1.1:compile
[INFO] | +- org.apache.ws.commons.axiom:axiom-impl:jar:1.2.7:compile
[INFO] | +- xalan:xalan:jar:2.7.0:compile
[INFO] | +- xerces:xercesImpl:jar:2.8.1:compile
[INFO] | \- commons-io:commons-io:jar:1.4:compile
[INFO] +- org.apache.xmlgraphics:batik-transcoder:jar:1.10:compile
[INFO] | +- org.apache.xmlgraphics:batik-anim:jar:1.10:compile
[INFO] | +- org.apache.xmlgraphics:batik-awt-util:jar:1.10:compile
[INFO] | | \- org.apache.xmlgraphics:xmlgraphics-commons:jar:2.2:compile
[INFO] | +- org.apache.xmlgraphics:batik-bridge:jar:1.10:compile
[INFO] | +- org.apache.xmlgraphics:batik-dom:jar:1.10:compile
[INFO] | +- org.apache.xmlgraphics:batik-gvt:jar:1.10:compile
[INFO] | +- org.apache.xmlgraphics:batik-svggen:jar:1.10:compile
[INFO] | +- org.apache.xmlgraphics:batik-util:jar:1.10:compile
[INFO] | | +- org.apache.xmlgraphics:batik-constants:jar:1.10:compile
[INFO] | | \- org.apache.xmlgraphics:batik-i18n:jar:1.10:compile
[INFO] | \- org.apache.xmlgraphics:batik-xml:jar:1.10:compile
[INFO] +- org.apache.xmlgraphics:batik-codec:jar:1.10:compile
[INFO] +- org.apache.xmlgraphics:batik-extension:jar:1.10:compile
[INFO] | +- org.apache.xmlgraphics:batik-css:jar:1.10:compile
[INFO] | +- org.apache.xmlgraphics:batik-ext:jar:1.10:compile
[INFO] | +- org.apache.xmlgraphics:batik-parser:jar:1.10:compile
[INFO] | \- org.apache.xmlgraphics:batik-svg-dom:jar:1.10:compile
[INFO] +- org.apache.xmlgraphics:batik-gui-util:jar:1.10:compile
[INFO] +- org.apache.xmlgraphics:batik-swing:jar:1.10:compile
[INFO] | \- org.apache.xmlgraphics:batik-script:jar:1.10:compile
[INFO] +- com.googlecode.charts4j:charts4j:jar:1.3:compile
[INFO] +- net.glxn:qrgen:jar:1.2:compile
[INFO] | \- com.google.zxing:javase:jar:2.0:compile
[INFO] | \- com.google.zxing:core:jar:2.0:compile
[INFO] +- org.quartz-scheduler:quartz:jar:2.2.3:compile
[INFO] | \- c3p0:c3p0:jar:0.9.1.1:compile
[INFO] +- opensymphony:quartz-all:jar:1.6.3:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.4:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.9.4:compile
[INFO] +- org.eclipse.persistence:org.eclipse.persistence.moxy:jar:2.5.0:compile
[INFO] | +- org.eclipse.persistence:org.eclipse.persistence.core:jar:2.5.0:compile
[INFO] | | \- org.eclipse.persistence:org.eclipse.persistence.asm:jar:2.5.0:compile
[INFO] | \- org.eclipse.persistence:org.eclipse.persistence.antlr:jar:2.5.0:compile
[INFO] +- com.auth0:java-jwt:jar:2.1.0:compile
[INFO] +- com.google.code.gson:gson:jar:2.5:compile
[INFO] +- org.apache.poi:poi-ooxml:jar:4.1.2:compile
[INFO] | +- org.apache.commons:commons-compress:jar:1.19:compile
[INFO] | \- com.github.virtuald:curvesapi:jar:1.06:compile
[INFO] +- org.apache.poi:ooxml-schemas:jar:1.4:compile
[INFO] | \- org.apache.xmlbeans:xmlbeans:jar:3.0.1:compile
[INFO] +- org.apache.poi:poi-ooxml-schemas:jar:4.1.2:compile
[INFO] +- com.jayway.jsonpath:json-path:jar:2.4.0:compile
[INFO] | \- net.minidev:json-smart:jar:2.3:compile
[INFO] | \- net.minidev:accessors-smart:jar:1.2:compile
[INFO] | \- org.ow2.asm:asm:jar:5.0.4:compile
[INFO] +- org.apache.kafka:kafka-clients:jar:2.6.0:compile
[INFO] | +- com.github.luben:zstd-jni:jar:1.4.4-7:compile
[INFO] | +- org.lz4:lz4-java:jar:1.7.1:compile
[INFO] | \- org.xerial.snappy:snappy-java:jar:1.1.7.3:compile
[INFO] \- org.apache.kafka:kafka-streams:jar:2.6.0:compile
[INFO] +- org.apache.kafka:connect-json:jar:2.6.0:compile
[INFO] | +- org.apache.kafka:connect-api:jar:2.6.0:compile
[INFO] | \- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.10.2:compile
[INFO] \- org.rocksdb:rocksdbjni:jar:5.18.4:compile
also, attaching the image after searching org.w3c.dom.* in openType.enter image description here

java.lang.NoSuchMethodError: 'boolean com.google.api.client.http.HttpTransport.isMtls()

This is not duplicate of this and this
my pom.xml has only two dependency .but somehow in run time i am getting
java.lang.NoSuchMethodError: 'boolean com.google.api.client.http.HttpTransport.isMtls()'
at com.google.api.services.bigquery.Bigquery$Builder.chooseEndpoint(Bigquery.java:6381)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>${google.cloud.bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.***.sharepoint</groupId>
<artifactId>sharepoint-util</artifactId>
<version>2.1</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquery</artifactId>
</dependency>
</dependencies>
i have checked in dependency tree there are no conflicting version of the jar.
attaching dependency tree. i have tried to add the scope as provided in maven but other bigquery imports are failing with noclassdeffound error.
[INFO] Scanning for projects...
[INFO]
[INFO] --------------< AA>--------------
[INFO] Building AA 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]-----------------
----------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) # AA
---
[INFO] *******g:jar:1.0-SNAPSHOT
[INFO] +- com.***.sharepoint:sharepoint-util:jar:2.1:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.4:compile
[INFO] | | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
[INFO] | +- org.json:json:jar:20180813:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.5:compile
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.6:compile
[INFO] | +- javax.mail:mail:jar:1.4.7:compile
[INFO] | | \- javax.activation:activation:jar:1.1:compile
[INFO] | +- com.google.code.gson:gson:jar:2.8.5:compile
[INFO] | +- org.apache.commons:commons-lang3:jar:3.9:compile
[INFO] | +- commons-io:commons-io:jar:2.6:compile
[INFO] | +- com.squareup.okhttp:okhttp:jar:2.7.5:compile
[INFO] | | \- com.squareup.okio:okio:jar:1.6.0:compile
[INFO] | +- commons-cli:commons-cli:jar:1.4:compile
[INFO] | +- org.apache.httpcomponents:httpmime:jar:4.3.1:compile
[INFO] | +- com.google.guava:guava:jar:30.1.1-jre:compile
[INFO] | +- com.google.cloud:google-cloud-storage:jar:2.0.1:compile
[INFO] | | +- com.google.apis:google-api-services-storage:jar:v1-rev20210127-1.32.1:compile
[INFO] | | \- com.google.auto.value:auto-value-annotations:jar:1.8.2:compile
[INFO] | \- org.apache.hadoop:hadoop-common:jar:2.7.3.2.6.5.0-292:compile
[INFO] | +- org.apache.hadoop:hadoop-annotations:jar:2.7.3.2.6.5.0-292:compile
[INFO] | +- org.apache.commons:commons-math3:jar:3.1.1:compile
[INFO] | +- xmlenc:xmlenc:jar:0.52:compile
[INFO] | +- commons-net:commons-net:jar:3.1:compile
[INFO] | +- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] | +- javax.servlet:servlet-api:jar:2.5:compile
[INFO] | +- org.mortbay.jetty:jetty:jar:6.1.26.hwx:compile
[INFO] | +- org.mortbay.jetty:jetty-util:jar:6.1.26.hwx:compile
[INFO] | +- org.mortbay.jetty:jetty-sslengine:jar:6.1.26.hwx:compile
[INFO] | +- javax.servlet.jsp:jsp-api:jar:2.1:runtime
[INFO] | +- com.sun.jersey:jersey-core:jar:1.9:compile
[INFO] | +- com.sun.jersey:jersey-json:jar:1.9:compile
[INFO] | | +- org.codehaus.jettison:jettison:jar:1.1:compile
[INFO] | | +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
[INFO] | | | \- javax.xml.bind:jaxb-api:jar:2.2.2:compile
[INFO] | | | \- javax.xml.stream:stax-api:jar:1.0-2:compile
[INFO] | | +- org.codehaus.jackson:jackson-jaxrs:jar:1.8.3:compile
[INFO] | | \- org.codehaus.jackson:jackson-xc:jar:1.8.3:compile
[INFO] | +- com.sun.jersey:jersey-server:jar:1.9:compile
[INFO] | | \- asm:asm:jar:3.1:compile
[INFO] | +- log4j:log4j:jar:1.2.17:compile
[INFO] | +- net.java.dev.jets3t:jets3t:jar:0.9.0:compile
[INFO] | | \- com.jamesmurty.utils:java-xmlbuilder:jar:0.4:compile
[INFO] | +- com.microsoft.azure:azure-storage:jar:5.4.0:compile
[INFO] | | \- com.microsoft.azure:azure-keyvault-core:jar:0.8.0:compile
[INFO] | +- commons-lang:commons-lang:jar:2.6:compile
[INFO] | +- commons-configuration:commons-configuration:jar:1.6:compile
[INFO] | | +- commons-digester:commons-digester:jar:1.8:compile
[INFO] | | | \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO] | | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
[INFO] | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
[INFO] | +- org.apache.avro:avro:jar:1.7.4:compile
[INFO] | | +- com.thoughtworks.paranamer:paranamer:jar:2.3:compile
[INFO] | | \- org.xerial.snappy:snappy-java:jar:1.0.4.1:compile
[INFO] | +- org.apache.hadoop:hadoop-auth:jar:2.7.3.2.6.5.0-292:compile
[INFO] | | +- com.nimbusds:nimbus-jose-jwt:jar:4.41.1:compile
[INFO] | | | \- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
[INFO] | | +- net.minidev:json-smart:jar:1.3.1:compile
[INFO] | | +- org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M15:compile
[INFO] | | | +- org.apache.directory.server:apacheds-i18n:jar:2.0.0-M15:compile
[INFO] | | | +- org.apache.directory.api:api-asn1-api:jar:1.0.0-M20:compile
[INFO] | | | \- org.apache.directory.api:api-util:jar:1.0.0-M20:compile
[INFO] | | \- org.apache.curator:curator-framework:jar:2.7.1:compile
[INFO] | +- com.jcraft:jsch:jar:0.1.54:compile
[INFO] | +- org.apache.curator:curator-client:jar:2.7.1:compile
[INFO] | +- org.apache.curator:curator-recipes:jar:2.7.1:compile
[INFO] | +- org.apache.htrace:htrace-core:jar:3.1.0-incubating:compile
[INFO] | +- org.apache.zookeeper:zookeeper:jar:3.4.6.2.6.5.0-292:compile
[INFO] | | \- io.netty:netty:jar:3.7.0.Final:compile
[INFO] | \- org.apache.commons:commons-compress:jar:1.4.1:compile
[INFO] | \- org.tukaani:xz:jar:1.0:compile
[INFO] \- com.google.cloud:google-cloud-bigquery:jar:2.1.1:compile
[INFO] +- com.google.cloud:google-cloud-core:jar:2.0.5:compile
[INFO] +- com.google.protobuf:protobuf-java-util:jar:3.17.3:compile
[INFO] +- com.google.api.grpc:proto-google-common-protos:jar:2.3.2:compile
[INFO] +- com.google.api.grpc:proto-google-iam-v1:jar:1.0.14:compile
[INFO] +- com.google.auth:google-auth-library-credentials:jar:1.0.0:compile
[INFO] +- com.google.http-client:google-http-client-gson:jar:1.39.2:compile
[INFO] +- com.google.protobuf:protobuf-java:jar:3.17.3:compile
[INFO] +- com.google.cloud:google-cloud-core-http:jar:2.0.5:compile
[INFO] +- com.google.api-client:google-api-client:jar:1.32.1:compile
[INFO] +- com.google.oauth-client:google-oauth-client:jar:1.31.5:compile
[INFO] +- com.google.http-client:google-http-client-apache-v2:jar:1.39.2:compile
[INFO] +- com.google.http-client:google-http-client-appengine:jar:1.39.2:compile
[INFO] +- com.google.api:gax-httpjson:jar:0.86.0:compile
[INFO] +- io.opencensus:opencensus-api:jar:0.28.0:compile
[INFO] +- io.grpc:grpc-context:jar:1.39.0:compile
[INFO] +- io.opencensus:opencensus-contrib-http-util:jar:0.28.0:compile
[INFO] +- com.google.http-client:google-http-client-jackson2:jar:1.39.2:compile
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.12.4:compile
[INFO] +- com.google.http-client:google-http-client:jar:1.39.2:compile
[INFO] +- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- commons-codec:commons-codec:jar:1.15:compile
[INFO] +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile
[INFO] +- com.google.j2objc:j2objc-annotations:jar:1.3:compile
[INFO] +- org.checkerframework:checker-compat-qual:jar:2.5.5:compile
[INFO] +- com.google.auth:google-auth-library-oauth2-http:jar:1.0.0:compile
[INFO] +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] +- com.google.apis:google-api-services-bigquery:jar:v2-rev20210726-1.32.1:compile
[INFO] +- com.google.api:api-common:jar:2.0.1:compile
[INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
[INFO] +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] +- org.checkerframework:checker-qual:jar:3.8.0:compile
[INFO] +- com.google.api:gax:jar:2.1.0:compile
[INFO] +- org.threeten:threetenbp:jar:1.5.1:compile
[INFO] \- com.google.errorprone:error_prone_annotations:jar:2.8.1:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.971 s
[INFO] Finished at: 2022-06-07T22:35:29+05:30
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "localDeploy" could not be activated because it does not exist.
The issue was order of dependency declaration, since my sharepoint declared first it always picked the class that got loaded first. The exclusion tag wont help as well , since its excluded at runtime.

Spring : Migrating to OpenJDK-10 not working, mvn install is working

I am working on a Spring-MVC project, where I am currently trying to migrate to OpenJDK 10. I am able to do a mvn clean install, but when I run the project, it's not working out. I get errors about Pricing.class, Eventlist.class, which are not even part of my project. I am trying to run the project in Jetty-9.4. I have already excluded jetty.annotations from dependency tree, but no luck. I am not even sure that's the error causing this problem.
Error log :
2019-02-19 14:07:56.349:INFO:oeja.AnnotationConfiguration:Scanner-1: Scanning elapsed time=3702ms
2019-02-19 14:07:56.350:WARN:oejw.WebAppContext:Scanner-1: Failed startup of context o.e.j.w.WebAppContext#1db58d85{/,file:///home/akshay/Downloads/twentynotes/target/TOOLTANK/,UNAVAILABLE}
MultiException[java.lang.RuntimeException: Error scanning file Webhook.class, java.lang.RuntimeException: Error scanning file Money.class, java.lang.RuntimeException: Error scanning file EventList.class, java.lang.RuntimeException: Error scanning file CheckoutList.class, java.lang.RuntimeException: Error scanning file Addresses.class, java.lang.RuntimeException: Error scanning file Checkout.class, java.lang.RuntimeException: Error scanning file Pagination.class, java.lang.RuntimeException: Error scanning file Event.class, java.lang.RuntimeException: Error scanning file Charge.class, java.lang.RuntimeException: Error scanning file RequestResponseLoggingInterceptor.class, java.lang.RuntimeException: Error scanning file Payment.class, java.lang.RuntimeException: Error scanning file ChargeTimeline.class, java.lang.RuntimeException: Error scanning file ChargeList.class, java.lang.RuntimeException: Error scanning file Pricing.class]
at org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations(AnnotationConfiguration.java:450)
at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:363)
at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:517)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1471)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:785)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188)
at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:502)
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:150)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)
at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:453)
at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610)
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529)
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:392)
at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:329)
at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
at java.base/java.util.TimerThread.run(Timer.java:506)
Caused by:
MultiException[java.lang.RuntimeException: Error scanning file Webhook.class, java.lang.RuntimeException: Error scanning file Money.class, java.lang.RuntimeException: Error scanning file EventList.class, java.lang.RuntimeException: Error scanning file CheckoutList.class, java.lang.RuntimeException: Error scanning file Addresses.class, java.lang.RuntimeException: Error scanning file Checkout.class, java.lang.RuntimeException: Error scanning file Pagination.class, java.lang.RuntimeException: Error scanning file Event.class, java.lang.RuntimeException: Error scanning file Charge.class, java.lang.RuntimeException: Error scanning file RequestResponseLoggingInterceptor.class, java.lang.RuntimeException: Error scanning file Payment.class, java.lang.RuntimeException: Error scanning file ChargeTimeline.class, java.lang.RuntimeException: Error scanning file ChargeList.class, java.lang.RuntimeException: Error scanning file Pricing.class]
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:702)
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:709)
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:709)
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:709)
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:709)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:850)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:462)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
at java.base/java.lang.Thread.run(Thread.java:844)
Suppressed:
|java.lang.RuntimeException: Error scanning file Money.class
| at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:732)
| at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:709)
| at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:709)
| at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:709)
| at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:709)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:850)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:462)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
| at java.base/java.lang.Thread.run(Thread.java:844)
|Caused by:
|java.lang.IllegalArgumentException
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.objectweb.asm.ClassReader.<init>(Unknown Source)
| at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:979)
| at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:725)
| at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:709)
| at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:709)
| at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:709)
| at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:709)
| at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:850)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:159)
| at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:462)
| at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
| at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
| at java.base/java.lang.Thread.run(Thread.java:844)
Suppressed:
mvn dependency:tree :
[INFO] --- maven-dependency-plugin:2.10:tree (default-cli) # TOOLTANK ---
[INFO] TOOLTANK:TOOLTANK:war:2.0-SNAPSHOT
[INFO] +- com.optimaize.languagedetector:language-detector:jar:0.6:compile
[INFO] | +- net.arnx:jsonic:jar:1.2.11:compile
[INFO] | +- com.intellij:annotations:jar:12.0:compile
[INFO] | +- com.google.guava:guava:jar:17.0:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.7.21:compile
[INFO] +- org.languagetool:language-de:jar:4.2:compile
[INFO] | +- org.languagetool:languagetool-core:jar:4.2:compile
[INFO] | | +- org.carrot2:morfologik-fsa:jar:2.1.5:compile
[INFO] | | +- org.carrot2:morfologik-fsa-builders:jar:2.1.5:compile
[INFO] | | +- org.carrot2:morfologik-speller:jar:2.1.5:compile
[INFO] | | +- org.carrot2:morfologik-stemming:jar:2.1.5:compile
[INFO] | | +- com.carrotsearch:hppc:jar:0.7.2:compile
[INFO] | | +- net.loomchild:segment:jar:2.0.0:compile
[INFO] | | +- edu.berkeley.nlp:berkeleylm:jar:1.1.2:compile
[INFO] | | \- javax.xml.bind:jaxb-api:jar:2.3.0:compile
[INFO] | +- org.languagetool:hunspell-native-libs:jar:2.9:compile
[INFO] | +- de.danielnaber:german-pos-dict:jar:1.1:compile
[INFO] | +- edu.washington.cs.knowitall:openregex:jar:1.1.1:compile
[INFO] | \- de.danielnaber:jwordsplitter:jar:4.4:compile
[INFO] +- com.googlecode.lambdaj:lambdaj:jar:2.3.3:compile
[INFO] | +- org.hamcrest:hamcrest-all:jar:1.3:compile
[INFO] | +- org.objenesis:objenesis:jar:2.1:compile
[INFO] | \- cglib:cglib-nodep:jar:2.2:compile
[INFO] +- org.apache.tomcat:tomcat-catalina:jar:7.0.42:compile
[INFO] | +- org.apache.tomcat:tomcat-servlet-api:jar:7.0.42:compile
[INFO] | +- org.apache.tomcat:tomcat-juli:jar:7.0.42:compile
[INFO] | +- org.apache.tomcat:tomcat-annotations-api:jar:7.0.42:compile
[INFO] | +- org.apache.tomcat:tomcat-api:jar:7.0.42:compile
[INFO] | \- org.apache.tomcat:tomcat-util:jar:7.0.42:compile
[INFO] +- com.braintreepayments.gateway:braintree-java:jar:2.74.0:compile
[INFO] | \- org.osgi:org.osgi.core:jar:4.2.0:compile
[INFO] +- com.github.seratch:jslack:jar:1.0.12:compile
[INFO] | \- com.squareup.okhttp3:okhttp:jar:3.8.1:compile
[INFO] | \- com.squareup.okio:okio:jar:1.13.0:compile
[INFO] +- org.apache.pdfbox:pdfbox:jar:2.0.8:compile
[INFO] | +- org.apache.pdfbox:fontbox:jar:2.0.8:compile
[INFO] | \- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- commons-validator:commons-validator:jar:1.6:compile
[INFO] | +- commons-beanutils:commons-beanutils:jar:1.9.2:compile
[INFO] | +- commons-digester:commons-digester:jar:2.1:compile
[INFO] | \- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] +- org.odftoolkit:simple-odf:jar:0.6.6:compile
[INFO] | \- org.odftoolkit:odfdom-java:jar:0.8.7:compile
[INFO] +- org.apache.lucene:lucene-queryparser:jar:6.0.0:compile
[INFO] | +- org.apache.lucene:lucene-queries:jar:6.0.0:compile
[INFO] | \- org.apache.lucene:lucene-sandbox:jar:6.0.0:compile
[INFO] +- org.apache.lucene:lucene-analyzers-common:jar:6.0.0:compile
[INFO] +- org.apache.lucene:lucene-core:jar:6.0.0:compile
[INFO] +- org.apache.lucene:lucene-suggest:jar:6.0.0:compile
[INFO] | \- org.apache.lucene:lucene-misc:jar:6.0.0:compile
[INFO] +- org.apache.lucene:lucene-backward-codecs:jar:6.0.0:compile
[INFO] +- com.twelvemonkeys.imageio:imageio-jpeg:jar:3.4-SNAPSHOT:compile
[INFO] | +- com.twelvemonkeys.imageio:imageio-core:jar:3.4-SNAPSHOT:compile
[INFO] | +- com.twelvemonkeys.imageio:imageio-metadata:jar:3.4-SNAPSHOT:compile
[INFO] | +- com.twelvemonkeys.common:common-lang:jar:3.4-SNAPSHOT:compile
[INFO] | +- com.twelvemonkeys.common:common-io:jar:3.4-SNAPSHOT:compile
[INFO] | \- com.twelvemonkeys.common:common-image:jar:3.4-SNAPSHOT:compile
[INFO] +- com.twelvemonkeys.imageio:imageio-tiff:jar:3.4-SNAPSHOT:compile
[INFO] +- org.apache.commons:commons-imaging:jar:1.0-SNAPSHOT:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.6:compile
[INFO] +- com.github.jai-imageio:jai-imageio-core:jar:1.3.0:compile
[INFO] +- net.sourceforge.tess4j:tess4j:jar:3.2.1:compile
[INFO] | +- net.java.dev.jna:jna:jar:4.1.0:compile
[INFO] | +- org.ghost4j:ghost4j:jar:1.0.1:compile
[INFO] | | +- log4j:log4j:jar:1.2.17:compile
[INFO] | | \- com.lowagie:itext:jar:2.1.7:compile
[INFO] | +- net.sourceforge.lept4j:lept4j:jar:1.2.3:compile
[INFO] | | \- org.rococoa:rococoa-core:jar:0.5:compile
[INFO] | +- org.slf4j:jul-to-slf4j:jar:1.7.21:compile
[INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.7.21:compile
[INFO] | \- org.slf4j:log4j-over-slf4j:jar:1.7.21:compile
[INFO] +- org.apache.xmlgraphics:batik-svg-dom:jar:1.7:compile
[INFO] | +- org.apache.xmlgraphics:batik-anim:jar:1.7:compile
[INFO] | +- org.apache.xmlgraphics:batik-awt-util:jar:1.7:compile
[INFO] | +- org.apache.xmlgraphics:batik-css:jar:1.7:compile
[INFO] | +- org.apache.xmlgraphics:batik-dom:jar:1.7:compile
[INFO] | | \- org.apache.xmlgraphics:batik-xml:jar:1.7:compile
[INFO] | +- org.apache.xmlgraphics:batik-ext:jar:1.7:compile
[INFO] | +- org.apache.xmlgraphics:batik-parser:jar:1.7:compile
[INFO] | +- org.apache.xmlgraphics:batik-util:jar:1.7:compile
[INFO] | \- xml-apis:xml-apis-ext:jar:1.3.04:compile
[INFO] +- org.apache.xmlgraphics:batik-codec:jar:1.7:compile
[INFO] | +- org.apache.xmlgraphics:batik-bridge:jar:1.7:compile
[INFO] | | +- org.apache.xmlgraphics:batik-gvt:jar:1.7:compile
[INFO] | | \- org.apache.xmlgraphics:batik-script:jar:1.7:compile
[INFO] | | \- org.apache.xmlgraphics:batik-js:jar:1.7:compile
[INFO] | \- org.apache.xmlgraphics:batik-transcoder:jar:1.7:compile
[INFO] | \- org.apache.xmlgraphics:batik-svggen:jar:1.7:compile
[INFO] +- com.cybozu.labs:langdetect:jar:1.1-20120112:compile
[INFO] +- net.gjerull.etherpad:etherpad_lite_client:jar:1.2.12:compile
[INFO] +- cglib:cglib:jar:2.2.2:compile
[INFO] | \- asm:asm:jar:3.3.1:compile
[INFO] +- org.apache.velocity:velocity:jar:1.7:compile
[INFO] +- org.apache.velocity:velocity-tools:jar:2.0:compile
[INFO] | +- commons-chain:commons-chain:jar:1.1:compile
[INFO] | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | +- oro:oro:jar:2.0.8:compile
[INFO] | +- sslext:sslext:jar:1.2-0:compile
[INFO] | +- org.apache.struts:struts-core:jar:1.3.8:compile
[INFO] | +- org.apache.struts:struts-taglib:jar:1.3.8:compile
[INFO] | \- org.apache.struts:struts-tiles:jar:1.3.8:compile
[INFO] +- com.ullink.slack:simpleslackapi:jar:1.0.0:compile
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.5.2:compile
[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.4.5:compile
[INFO] | +- org.apache.httpcomponents:httpmime:jar:4.5.2:runtime
[INFO] | \- org.threeten:threetenbp:jar:1.2:runtime
[INFO] +- com.google.gdata:core:jar:1.47.1:compile
[INFO] | \- com.google.code.findbugs:jsr305:jar:3.0.1:compile
[INFO] +- org.docx4j:docx4j:jar:3.1.0:compile
[INFO] | +- org.plutext:jaxb-svg11:jar:1.0.2:compile
[INFO] | +- org.plutext:jaxb-xslfo:jar:1.0.1:compile
[INFO] | +- org.plutext:jaxb-xmldsig-core:jar:1.0.0:compile
[INFO] | +- net.engio:mbassador:jar:1.1.10:compile
[INFO] | +- org.apache.xmlgraphics:xmlgraphics-commons:jar:1.5:compile
[INFO] | +- org.apache.xmlgraphics:fop:jar:1.1:compile
[INFO] | | \- org.apache.xmlgraphics:batik-extension:jar:1.7:compile
[INFO] | +- org.apache.avalon.framework:avalon-framework-api:jar:4.3.1:compile
[INFO] | +- org.apache.avalon.framework:avalon-framework-impl:jar:4.3.1:compile
[INFO] | +- xalan:xalan:jar:2.7.1:compile
[INFO] | | \- xalan:serializer:jar:2.7.1:compile
[INFO] | +- net.arnx:wmf2svg:jar:0.9.0:compile
[INFO] | +- org.antlr:antlr-runtime:jar:3.3:compile
[INFO] | \- org.antlr:stringtemplate:jar:3.2.1:compile
[INFO] +- junit:junit:jar:4.12:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.apache.commons:commons-csv:jar:1.2:compile
[INFO] +- com.artofsolving:jodconverter:jar:2.2.1:compile
[INFO] | +- org.openoffice:juh:jar:2.3.0:compile
[INFO] | | \- org.openoffice:jurt:jar:2.3.0:compile
[INFO] | +- org.openoffice:ridl:jar:2.3.0:compile
[INFO] | \- org.openoffice:unoil:jar:2.3.0:compile
[INFO] +- org.jxls:jxls:jar:2.2.8:compile
[INFO] | \- org.apache.commons:commons-jexl:jar:2.1.1:compile
[INFO] +- org.jxls:jxls-poi:jar:1.0.6:compile
[INFO] +- fr.opensagres.xdocreport:org.apache.poi.xwpf.converter.core:jar:1.0.5:compile
[INFO] | \- org.apache.poi:ooxml-schemas:jar:1.1:compile
[INFO] +- fr.opensagres.xdocreport:org.apache.poi.xwpf.converter.xhtml:jar:1.0.5:compile
[INFO] +- org.apache.poi:poi:jar:3.15-beta1:compile
[INFO] +- org.apache.poi:poi-ooxml:jar:3.15-beta1:compile
[INFO] | \- com.github.virtuald:curvesapi:jar:1.03:compile
[INFO] +- org.apache.poi:poi-ooxml-schemas:jar:3.15-beta1:compile
[INFO] | \- org.apache.xmlbeans:xmlbeans:jar:2.6.0:compile
[INFO] | \- stax:stax-api:jar:1.0.1:compile
[INFO] +- org.apache.poi:poi-scratchpad:jar:3.15-beta1:compile
[INFO] +- org.swinglabs:pdf-renderer:jar:1.0.5:compile
[INFO] +- org.jsoup:jsoup:jar:1.8.3:compile
[INFO] +- org.jasypt:jasypt:jar:1.9.2:compile
[INFO] +- org.jasypt:jasypt-hibernate4:jar:1.9.2:compile
[INFO] +- commons-lang:commons-lang:jar:2.6:compile
[INFO] +- org.springframework.mobile:spring-mobile-device:jar:1.1.5.RELEASE:compile
[INFO] | \- org.springframework:spring-web:jar:4.2.8.RELEASE:compile
[INFO] +- org.springframework.data:spring-data-redis:jar:1.6.5.RELEASE:compile
[INFO] | +- org.springframework:spring-tx:jar:4.2.8.RELEASE:compile
[INFO] | +- org.springframework:spring-oxm:jar:4.2.8.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:4.2.8.RELEASE:compile
[INFO] | \- org.springframework:spring-context-support:jar:4.2.8.RELEASE:compile
[INFO] +- org.springframework:spring-webmvc:jar:4.2.8.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:4.2.8.RELEASE:compile
[INFO] | +- org.springframework:spring-context:jar:4.2.8.RELEASE:compile
[INFO] | +- org.springframework:spring-core:jar:4.2.8.RELEASE:compile
[INFO] | \- org.springframework:spring-expression:jar:4.2.8.RELEASE:compile
[INFO] +- org.springframework:spring-orm:jar:4.2.8.RELEASE:compile
[INFO] | \- org.springframework:spring-jdbc:jar:4.2.8.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-config:jar:4.2.3.RELEASE:compile
[INFO] | +- aopalliance:aopalliance:jar:1.0:compile
[INFO] | \- org.springframework.security:spring-security-core:jar:4.0.4.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-taglibs:jar:4.2.3.RELEASE:compile
[INFO] | \- org.springframework.security:spring-security-acl:jar:4.0.4.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-web:jar:4.2.3.RELEASE:compile
[INFO] +- com.evernote:evernote-api:jar:1.25.1:compile
[INFO] +- org.scribe:scribe:jar:1.3.7:compile
[INFO] +- org.mnode.ical4j:ical4j:jar:1.0.6:compile
[INFO] | \- backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[INFO] +- org.apache.commons:commons-pool2:jar:2.4.2:compile
[INFO] +- com.google.api-client:google-api-client:jar:1.23.0:compile
[INFO] | +- com.google.oauth-client:google-oauth-client:jar:1.23.0:compile
[INFO] | +- com.google.http-client:google-http-client-jackson2:jar:1.23.0:compile
[INFO] | \- com.google.guava:guava-jdk5:jar:17.0:compile
[INFO] +- com.google.http-client:google-http-client:jar:1.19.0:compile
[INFO] +- com.google.apis:google-api-services-drive:jar:v2-rev332-1.25.0:compile
[INFO] +- com.google.apis:google-api-services-oauth2:jar:v2-rev141-1.25.0:compile
[INFO] +- com.google.http-client:google-http-client-jackson:jar:1.19.0:compile
[INFO] | \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
[INFO] +- com.google.oauth-client:google-oauth-client-jetty:jar:1.19.0:compile
[INFO] | +- com.google.oauth-client:google-oauth-client-java6:jar:1.19.0:compile
[INFO] | \- org.mortbay.jetty:jetty:jar:6.1.26:compile
[INFO] | \- org.mortbay.jetty:servlet-api:jar:2.5-20081211:compile
[INFO] +- org.mortbay.jetty:jetty-util:jar:6.1.26:provided
[INFO] +- com.google.apis:google-api-services-plus:jar:v1-rev216-1.20.0:compile
[INFO] +- com.dropbox.core:dropbox-core-sdk:jar:3.0.3:compile
[INFO] +- org.hibernate:hibernate-validator:jar:5.2.4.Final:compile
[INFO] | +- org.jboss.logging:jboss-logging:jar:3.3.0.Final:compile
[INFO] | \- com.fasterxml:classmate:jar:1.1.0:compile
[INFO] +- org.hibernate:hibernate-core:jar:4.3.9.Final:compile
[INFO] | +- org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile
[INFO] | +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
[INFO] | +- org.hibernate.common:hibernate-commons-annotations:jar:4.0.5.Final:compile
[INFO] | +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[INFO] | +- org.javassist:javassist:jar:3.18.1-GA:compile
[INFO] | +- antlr:antlr:jar:2.7.7:compile
[INFO] | \- org.jboss:jandex:jar:1.1.0.Final:compile
[INFO] +- org.hibernate:hibernate-entitymanager:jar:4.3.9.Final:compile
[INFO] +- com.zaxxer:HikariCP:jar:3.2.0:compile
[INFO] +- org.hibernate:hibernate-hikaricp:jar:4.3.9.Final:compile
[INFO] | \- com.zaxxer:HikariCP-java6:jar:2.3.13:compile
[INFO] +- org.cometd.java:bayeux-api:jar:3.1.2:compile
[INFO] +- org.cometd.javascript:cometd-javascript-jquery:war:3.1.2:compile
[INFO] +- org.cometd.java:cometd-java-server:jar:3.1.2:compile
[INFO] | +- org.cometd.java:cometd-java-common:jar:3.1.2:compile
[INFO] | | \- org.eclipse.jetty:jetty-util-ajax:jar:9.2.22.v20170606:compile
[INFO] | +- org.eclipse.jetty:jetty-util:jar:9.2.9.v20150224:compile
[INFO] | \- org.eclipse.jetty:jetty-jmx:jar:9.2.9.v20150224:compile
[INFO] +- org.cometd.java:cometd-java-client:jar:3.1.2:compile
[INFO] | +- org.eclipse.jetty:jetty-io:jar:9.2.9.v20150224:compile
[INFO] | +- org.eclipse.jetty:jetty-http:jar:9.2.9.v20150224:compile
[INFO] | \- org.eclipse.jetty:jetty-client:jar:9.2.9.v20150224:compile
[INFO] +- org.cometd.java:cometd-java-annotations:jar:3.1.2:compile
[INFO] | \- javax.annotation:jsr250-api:jar:1.0:compile
[INFO] +- org.cometd.java:cometd-java-websocket-javax-server:jar:3.1.2:compile
[INFO] +- javax.websocket:javax.websocket-api:jar:1.0:compile
[INFO] +- org.cometd.java:cometd-java-websocket-common-server:jar:3.1.2:compile
[INFO] +- org.imgscalr:imgscalr-lib:jar:4.2:compile
[INFO] +- xml-apis:xml-apis:jar:1.4.01:compile
[INFO] +- commons-io:commons-io:jar:2.4:compile
[INFO] +- commons-fileupload:commons-fileupload:jar:1.3.2:compile
[INFO] +- javax.validation:validation-api:jar:1.1.0.Final:compile
[INFO] +- commons-dbcp:commons-dbcp:jar:1.4:compile
[INFO] | \- commons-pool:commons-pool:jar:1.6:compile
[INFO] +- org.aspectj:aspectjrt:jar:1.8.9:compile
[INFO] +- joda-time:joda-time:jar:2.8.2:compile
[INFO] +- com.itextpdf:itextpdf:jar:5.0.6:compile
[INFO] | +- org.bouncycastle:bcmail-jdk14:jar:1.38:compile
[INFO] | +- org.bouncycastle:bcprov-jdk14:jar:1.38:compile
[INFO] | \- org.bouncycastle:bctsp-jdk14:jar:1.38:compile
[INFO] +- commons-codec:commons-codec:jar:1.10:compile
[INFO] +- javax.mail:mail:jar:1.4.4:compile
[INFO] | \- javax.activation:activation:jar:1.1.1:compile
[INFO] +- javax.inject:javax.inject:jar:1:compile
[INFO] +- javax.servlet:javax.servlet-api:jar:3.1.0:compile
[INFO] +- javax.servlet.jsp:jsp-api:jar:2.1:compile
[INFO] +- javax.servlet:jstl:jar:1.2:compile
[INFO] +- ch.qos.logback:logback-classic:jar:1.0.13:runtime
[INFO] +- ch.qos.logback:logback-core:jar:1.0.13:runtime
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.6.7:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.6.7:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.6.7:compile
[INFO] +- org.postgresql:postgresql:jar:42.2.5:compile
[INFO] +- xerces:xercesImpl:jar:2.11.0:compile
[INFO] +- com.google.code.gson:gson:jar:2.3.1:compile
[INFO] +- org.json:json:jar:20141113:compile
[INFO] +- com.googlecode.json-simple:json-simple:jar:1.1.1:compile
[INFO] +- com.google.javascript:closure-compiler:jar:v20170806:compile
[INFO] | +- com.google.javascript:closure-compiler-externs:jar:v20170806:compile
[INFO] | +- args4j:args4j:jar:2.33:compile
[INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.0.18:compile
[INFO] | +- com.google.protobuf:protobuf-java:jar:2.5.0:compile
[INFO] | \- com.google.jsinterop:jsinterop-annotations:jar:1.0.0:compile
[INFO] +- org.springframework:spring-test:jar:4.1.6.RELEASE:compile
[INFO] \- nl.geodienstencentrum.maven:sass-maven-plugin:jar:3.5.1:compile
[INFO] +- org.apache.maven:maven-core:jar:3.5.2:compile
[INFO] | +- org.apache.maven:maven-model:jar:3.5.2:compile
[INFO] | +- org.apache.maven:maven-settings:jar:3.5.2:compile
[INFO] | +- org.apache.maven:maven-settings-builder:jar:3.5.2:compile
[INFO] | | +- org.codehaus.plexus:plexus-interpolation:jar:1.24:compile
[INFO] | | \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4:compile
[INFO] | | \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[INFO] | +- org.apache.maven:maven-builder-support:jar:3.5.2:compile
[INFO] | +- org.apache.maven:maven-repository-metadata:jar:3.5.2:compile
[INFO] | +- org.apache.maven:maven-artifact:jar:3.5.2:compile
[INFO] | +- org.apache.maven:maven-plugin-api:jar:3.5.2:compile
[INFO] | +- org.apache.maven:maven-model-builder:jar:3.5.2:compile
[INFO] | +- org.apache.maven:maven-resolver-provider:jar:3.5.2:compile
[INFO] | +- org.apache.maven.resolver:maven-resolver-impl:jar:1.1.0:compile
[INFO] | +- org.apache.maven.resolver:maven-resolver-api:jar:1.1.0:compile
[INFO] | +- org.apache.maven.resolver:maven-resolver-spi:jar:1.1.0:compile
[INFO] | +- org.apache.maven.resolver:maven-resolver-util:jar:1.1.0:compile
[INFO] | +- org.apache.maven.shared:maven-shared-utils:jar:3.1.0:compile
[INFO] | +- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.3:compile
[INFO] | | \- javax.enterprise:cdi-api:jar:1.0-SP4:compile
[INFO] | | \- org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:jar:1.0.0.Beta1:compile
[INFO] | +- org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.3:compile
[INFO] | +- com.google.inject:guice:jar:no_aop:4.0:compile
[INFO] | +- org.codehaus.plexus:plexus-utils:jar:3.1.0:compile
[INFO] | +- org.codehaus.plexus:plexus-classworlds:jar:2.5.2:compile
[INFO] | \- org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile
[INFO] +- org.jruby:jruby-complete:jar:9.1.15.0:compile
[INFO] +- org.apache.maven.doxia:doxia-sink-api:jar:1.7:compile
[INFO] | \- org.apache.maven.doxia:doxia-logging-api:jar:1.7:compile
[INFO] | \- org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-30:compile
[INFO] \- org.apache.maven.reporting:maven-reporting-impl:jar:3.0.0:compile
[INFO] +- org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile
[INFO] +- org.apache.maven.doxia:doxia-decoration-model:jar:1.7.4:compile
[INFO] +- org.apache.maven.doxia:doxia-core:jar:1.7:compile
[INFO] | \- xmlunit:xmlunit:jar:1.5:compile
[INFO] \- org.apache.maven.doxia:doxia-site-renderer:jar:1.7.4:compile
[INFO] +- org.apache.maven.doxia:doxia-skin-model:jar:1.7.4:compile
[INFO] +- org.apache.maven.doxia:doxia-module-xhtml:jar:1.7:compile
[INFO] +- org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile
[INFO] \- org.codehaus.plexus:plexus-velocity:jar:1.2:compile
[INFO] ------------------------------------------------------------------------
Updated cglib and asm, still no luck :
<!-- Apache 2.0 -->
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>3.2.10</version>
<exclusions>
<exclusion>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- https://mvnrepository.com/artifact/org.ow2.asm/asm -->
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>7.0</version>
<scope>compile</scope>
</dependency>
asm:asm:jar:3.3.1:compile
That is far too old for Java 10.
You'll need to use asm 7.0 (or newer)
[INFO] | | \- org.eclipse.jetty:jetty-util-ajax:jar:9.2.22.v20170606:compile
[INFO] | +- org.eclipse.jetty:jetty-util:jar:9.2.9.v20150224:compile
[INFO] | \- org.eclipse.jetty:jetty-jmx:jar:9.2.9.v20150224:compile
[INFO] +- org.cometd.java:cometd-java-client:jar:3.1.2:compile
[INFO] | +- org.eclipse.jetty:jetty-io:jar:9.2.9.v20150224:compile
[INFO] | +- org.eclipse.jetty:jetty-http:jar:9.2.9.v20150224:compile
[INFO] | \- org.eclipse.jetty:jetty-client:jar:9.2.9.v20150224:compile
Jetty 9.2.9 is too old for Java 9+ support.
Historically, Jetty 9.4.11 was the first to support Java 9 with the ASM 6.2 upgrade.
But the ASM 7.0 upgrade (to support Java 10 and Java 11) introduced an API change in ASM that requires Jetty 9.4.13 or newer.

Context initialization failed Error with Spring MVC

I'm receiving an exception when I try to start my Spring MVC application with a deployed war file on a tomcat8 (java 1.8_65):
Context initialization failed Error creating bean with name 'entityManagerFactory' defined in biz.aspsol.solarix.init.configuration.WebAppConfig: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.persistence.JoinTable.indexes()[Ljavax/persistence/Index;
What is strange is that I can run the application without problems from my Intellij Idea however the deployment with the war file does not work.
Here is my maven dependency tree:
[INFO] +- org.springframework:spring-context:jar:4.2.2.RELEASE:compile
[INFO] | \- org.springframework:spring-aop:jar:4.2.2.RELEASE:compile
[INFO] +- org.springframework:spring-core:jar:4.2.2.RELEASE:compile
[INFO] | \- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- org.springframework:spring-expression:jar:4.2.2.RELEASE:compile
[INFO] +- org.springframework:spring-webmvc:jar:4.2.2.RELEASE:compile
[INFO] +- org.springframework:spring-web:jar:4.2.2.RELEASE:compile
[INFO] +- org.springframework:spring-context-support:jar:4.2.2.RELEASE:compile
[INFO] +- org.springframework:spring-beans:jar:4.2.2.RELEASE:compile
[INFO] +- org.springframework.data:spring-data-jpa:jar:1.8.2.RELEASE:compile
[INFO] | +- org.springframework.data:spring-data-commons:jar:1.10.2.RELEASE:compile
[INFO] | +- org.springframework:spring-orm:jar:4.0.9.RELEASE:compile
[INFO] | | \- org.springframework:spring-jdbc:jar:4.0.9.RELEASE:compile
[INFO] | +- org.springframework:spring-tx:jar:4.0.9.RELEASE:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.7.12:compile
[INFO] | \- org.slf4j:jcl-over-slf4j:jar:1.7.12:runtime
[INFO] +- org.springframework.security:spring-security-web:jar:4.0.2.RELEASE:compile
[INFO] | +- aopalliance:aopalliance:jar:1.0:compile
[INFO] | \- org.springframework.security:spring-security-core:jar:4.0.2.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-config:jar:4.0.2.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-taglibs:jar:4.0.2.RELEASE:compile
[INFO] | \- org.springframework.security:spring-security-acl:jar:4.0.2.RELEASE:compile
[INFO] +- org.thymeleaf:thymeleaf-spring4:jar:2.1.4.RELEASE:compile
[INFO] +- org.thymeleaf:thymeleaf:jar:2.1.4.RELEASE:compile
[INFO] | +- ognl:ognl:jar:3.0.8:compile
[INFO] | \- org.unbescape:unbescape:jar:1.1.0.RELEASE:compile
[INFO] +- org.thymeleaf.extras:thymeleaf-extras-springsecurity4:jar:2.1.2.RELEASE:compile
[INFO] +- nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:jar:1.3.0:compile
[INFO] | \- org.codehaus.groovy:groovy:jar:2.4.3:compile
[INFO] +- org.hibernate:hibernate-core:jar:4.3.6.Final:compile
[INFO] | +- org.jboss.logging:jboss-logging:jar:3.1.3.GA:compile
[INFO] | +- org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile
[INFO] | +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile
[INFO] | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | | \- xml-apis:xml-apis:jar:1.0.b2:compile
[INFO] | +- org.hibernate.common:hibernate-commons-annotations:jar:4.0.5.Final:compile
[INFO] | +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[INFO] | +- antlr:antlr:jar:2.7.7:compile
[INFO] | \- org.jboss:jandex:jar:1.1.0.Final:compile
[INFO] +- org.hibernate:hibernate-validator:jar:5.2.1.Final:compile
[INFO] | \- com.fasterxml:classmate:jar:1.1.0:compile
[INFO] +- org.hibernate:hibernate-entitymanager:jar:5.0.3.Final:compile
[INFO] | \- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
[INFO] +- org.aspectj:aspectjrt:jar:1.8.6:runtime (scope not updated to compile)
[INFO] +- org.aspectj:aspectjtools:jar:1.8.6:compile
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.6.1:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.6.1:compile
[INFO] +- com.fasterxml.jackson.core:jackson-annotations:jar:2.6.1:compile
[INFO] +- org.apache.velocity:velocity:jar:1.7:compile
[INFO] | +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | \- commons-lang:commons-lang:jar:2.4:compile
[INFO] +- org.apache.velocity:velocity-tools:jar:2.0:compile
[INFO] | +- commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO] | +- commons-digester:commons-digester:jar:1.8:compile
[INFO] | +- commons-chain:commons-chain:jar:1.1:compile
[INFO] | +- commons-validator:commons-validator:jar:1.3.1:compile
[INFO] | +- oro:oro:jar:2.0.8:compile
[INFO] | +- sslext:sslext:jar:1.2-0:compile
[INFO] | +- org.apache.struts:struts-core:jar:1.3.8:compile
[INFO] | +- org.apache.struts:struts-taglib:jar:1.3.8:compile
[INFO] | \- org.apache.struts:struts-tiles:jar:1.3.8:compile
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.12:compile
[INFO] | \- log4j:log4j:jar:1.2.17:compile
[INFO] +- javax.validation:validation-api:jar:1.1.0.Final:compile
[INFO] +- javax.servlet:javax.servlet-api:jar:3.1.0:provided
[INFO] +- javax.mail:mail:jar:1.4.7:compile
[INFO] | \- javax.activation:activation:jar:1.1:compile
[INFO] +- org.postgresql:postgresql:jar:9.4-1202-jdbc42:compile
[INFO] +- org.apache.commons:commons-dbcp2:jar:2.1.1:compile
[INFO] | \- org.apache.commons:commons-pool2:jar:2.4.2:compile
[INFO] +- commons-io:commons-io:jar:2.4:compile
[INFO] +- net.sf.ehcache:ehcache:jar:2.10.0:compile
[INFO] +- org.javassist:javassist:jar:3.20.0-GA:compile
[INFO] +- com.braintreepayments.gateway:braintree-java:jar:2.49.0:compile
[INFO] +- org.xhtmlrenderer:flying-saucer-pdf-itext5:jar:9.0.8:compile
[INFO] | \- org.xhtmlrenderer:flying-saucer-core:jar:9.0.8:compile
[INFO] +- org.apache.pdfbox:pdfbox:jar:1.8.10:compile
[INFO] | +- org.apache.pdfbox:fontbox:jar:1.8.10:compile
[INFO] | \- org.apache.pdfbox:jempbox:jar:1.8.10:compile
[INFO] +- org.bouncycastle:bcprov-jdk15on:jar:1.52:compile
[INFO] +- org.bouncycastle:bcmail-jdk15on:jar:1.52:compile
[INFO] | \- org.bouncycastle:bcpkix-jdk15on:jar:1.52:compile
[INFO] +- org.json:json:jar:20150729:compile
[INFO] +- com.google.maps:google-maps-services:jar:0.1.8:compile
[INFO] | +- com.squareup.okhttp:okhttp:jar:2.0.0:compile
[INFO] | | \- com.squareup.okio:okio:jar:1.0.0:compile
[INFO] | +- com.google.code.gson:gson:jar:2.3.1:compile
[INFO] | \- joda-time:joda-time:jar:2.4:compile
[INFO] +- org.apache.poi:poi:jar:3.13:compile
[INFO] | \- commons-codec:commons-codec:jar:1.9:compile
[INFO] \- com.itextpdf:itextpdf:jar:5.5.7:compile
Most likely you have an older version of JPA api deployed in your tomcat.
That is why you see no exceptions when deploying from IntelliJ.
indexes attribute was introduced to #JoinTable in JPA 2.1. If you use older version of JPA you'll get the exact same exception at runtime.
Check that there are no other JPA api jars in the $CATALINA_BASE/lib folder
I found the solution for the problem. I have included the hibernate-jpa-2.1-api dependency into my pom.xml file.
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<version>1.0.0.Final</version>
</dependency>

How to remove invalid version in dependecies

I am using maven to compile project.
here is result of dependency:tree
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) # tournament-system-web ---
[INFO] org.toursys:tournament-system-web:war:0.0.1-SNAPSHOT
[INFO] +- org.toursys:tournament-system-processor:jar:0.0.1-SNAPSHOT:compile
[INFO] | +- com.itextpdf:itextpdf:jar:5.1.3:compile
[INFO] | \- com.itextpdf.tool:xmlworker:jar:1.1.1:compile
[INFO] +- org.toursys:tournament-system-repository:jar:0.0.1-SNAPSHOT:compile
[INFO] | +- org.sqlproc:sql-processor:jar:1.9.0:compile
[INFO] | | +- org.antlr:antlr:jar:3.4:compile
[INFO] | | | \- org.antlr:ST4:jar:4.0.4:compile
[INFO] | | +- org.antlr:antlr-runtime:jar:3.4:compile
[INFO] | | | +- org.antlr:stringtemplate:jar:3.2.1:compile
[INFO] | | | \- antlr:antlr:jar:2.7.7:compile
[INFO] | | \- commons-beanutils:commons-beanutils:jar:1.8.3:compile
[INFO] | \- org.sqlproc:sql-processor-spring:jar:1.9.0:compile
[INFO] | \- org.springframework:spring-jdbc:jar:3.0.5.RELEASE:compile (version managed from 3.1.2.RELEASE)
[INFO] | \- org.springframework:spring-tx:jar:3.0.5.RELEASE:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.6.1:compile
[INFO] +- log4j:log4j:jar:1.2.15:compile
[INFO] +- org.springframework:spring-core:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-asm:jar:3.0.5.RELEASE:compile
[INFO] | \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] +- org.springframework:spring-web:jar:3.0.5.RELEASE:compile
[INFO] | +- aopalliance:aopalliance:jar:1.0:compile
[INFO] | \- org.springframework:spring-context:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:3.0.5.RELEASE:compile
[INFO] | \- org.springframework:spring-expression:jar:3.0.5.RELEASE:compile
[INFO] +- javax.servlet:servlet-api:jar:2.4:compile
[INFO] +- org.apache.wicket:wicket-core:jar:1.5.8:compile
[INFO] | +- org.apache.wicket:wicket-util:jar:1.5.8:compile
[INFO] | \- org.apache.wicket:wicket-request:jar:1.5.8:compile
[INFO] +- org.apache.wicket:wicket-spring:jar:1.5.8:compile
[INFO] | \- org.apache.wicket:wicket-ioc:jar:1.5.8:compile
[INFO] | \- cglib:cglib:jar:2.2:compile
[INFO] | \- asm:asm:jar:3.1:compile
[INFO] +- org.apache.wicket:wicket-datetime:jar:1.5.8:compile
[INFO] | \- joda-time:joda-time:jar:2.0:compile
[INFO] +- org.apache.wicket:wicket-extensions:jar:1.5.8:compile
[INFO] +- org.wicketstuff:wicketstuff-minis:jar:1.5.8:compile
[INFO] | \- org.apache.wicket:wicket:pom:1.5.8:compile
[INFO] +- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
[INFO] +- cglib:cglib-nodep:jar:2.2:compile
[INFO] +- commons-dbcp:commons-dbcp:jar:1.2.2:runtime
[INFO] | \- commons-pool:commons-pool:jar:1.3:runtime
[INFO] \- mysql:mysql-connector-java:jar:5.1.20:compile
problem is when I look into generated war there is two version of wicket. 1.5.5 and 1.5.8 and I dont know why there is still older version. I dont have it in dependency. How I can remove it or find why there is still this library ?
You should exlude wicket-1.5.5 which comes as dependency of another package.
Dependency exclusion is described here.

Categories

Resources