tomcat报错org.bouncycastle.asn1.ASN1Boolean启动不起来,错误记录

Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/cmp-model] 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.ASN1Boolean->org.bouncycastle.asn1.DERBoolean->org.bouncycastle.asn1.ASN1Boolean]

在tomcat/conf/catalina.properties 最后一行添加以下代码,搞定!

tomcat.util.scan.StandardJarScanFilter.jarsToSkip = bcpkix-*.jar,bcprov-*.jar,fr-*.jar

 

你可能感兴趣的:(tomcat)