org.bouncycastle.asn1.ASN1EncodableVector->org.bouncycastle.asn1.DEREncodableVector->org.bouncycastle.asn1.ASN1EncodableVector
旧的项目 启动时偶尔会提示 这个
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]
然后内存小的时候经常会启动不了 只能关了再打开 尝试
部署在linux 环境下 更是出问题
参考:https://blog.youkuaiyun.com/u011937566/article/details/79800066
排除 这2个类对应的jar
org.bouncycastle.asn1.ASN1EncodableVector
org.bouncycastle.asn1.DEREncodableVector
在项目中必定有2个jar冲突 去掉一个即可正常启动
项目中存在的是:
bcprov-jdk15on-1.60.jar
pdfbox-app-1.8.2.jar