Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [] due to a StackOverflowError. Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was [org.bouncycastle.asn1.ASN1EncodableVector->org.bouncycastle.asn1.DEREncodableVector->org.bouncycastle.asn1.ASN1EncodableVector]
tomcat启动报上面的错误,网上的说法是:tomcat在扫描jar的时候,dom4j.jar和jaxen.jar里面的类冲突了,就是上面蓝色字体的类。jaxen.jar是dom4j.jar的基础包
最好的解决办法是更新jar:手动更新2个jar为:
问题解决。