具体信息如下:

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启动会去扫描jar包,看错误信息org.bouncycastle.asn1.ASN1EncodableVector,是出在这个类

这个类似出现在bcprov*.jar这个包

所以在tomcat的conf目录里面catalina.properties的文件,

tomcat.util.scan.StandardJarScanFilter.jarsToSkip=里面加上bcprov*.jar过滤
tomcat启动报错apache-tomcat-9.0.1版Possible root causes include a too low setting for -Xss and illegal cy
启动不会报错了, 更换tomcat版本也行;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2022-01-23
  • 2021-07-20
  • 2021-05-08
  • 2021-06-04
猜你喜欢
  • 2022-12-23
  • 2021-10-26
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
  • 2022-02-08
  • 2021-12-29
相关资源
相似解决方案