but. If you are using maven, a useful way to debug conflicting banks:
mvn dependency:tree
For example, to exclude:
java.lang.SecurityException: class "javax.servlet.HttpConstraintElement" signer information does not match signer information of other classes in the same package
doing:
mvn dependency:tree|grep servlet
His conclusion:
[INFO] +- javax.servlet:servlet-api:jar:2.5:compile [INFO] +- javax.servlet:jstl:jar:1.2:compile [INFO] | +- org.eclipse.jetty.orbit:javax.servlet.jsp:jar:2.2.0.v201112011158:compile [INFO] | +- org.eclipse.jetty.orbit:javax.servlet.jsp.jstl:jar:1.2.0.v201105211821:compile [INFO] | +- org.eclipse.jetty.orbit:javax.servlet:jar:3.0.0.v201112011016:compile [INFO] +- org.eclipse.jetty:jetty-servlet:jar:9.0.0.RC2:compile
shows servlet-api 2.5 and javax.servlet 3.0.0.x fail.
B. Other useful tips (how to debug a security exception and how to exclude maven deps) are in the Question about subscribers does not match .
Eugene Gr. Philippov Jul 10 '13 at 7:53 on 2013-07-10 07:53
source share