tomcat日志:
Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/vcss_webrms] 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.DefaultJarScanner.jarsToSkip=\ 值后面加 “,*” (注意双引号也要)。