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

it2022-05-05  119

java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/xxx] 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文件中,添加如下所示:

org.apache.catalina.startup.ContextConfig.jarsToSkip=bcprov*.jar

重启启动Tomcat成功


最新回复(0)