Unable to complete the scan for annotations for web application [] due to a StackOverflowError

来源:互联网 发布:淘宝白内障器械 编辑:程序博客网 时间:2024/05/21 18:26

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为:



问题解决。

阅读全文
0 0