菜单

波波
发布于 2022-06-15 / 0 阅读
0

tomcat启动报由于StackOverflower错误,无法完成对web应用程序[]的批注的扫描,可能的根本原因包括-Xss的设置过低和非法的循环继承依赖项

Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/mp-task] 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]
at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2100)

解决办法:
tomcat容器的conf目录。修改catalina.properties配置文件

在配置后面增加bcprov-*.jar

image

项目可正常启动