myeclipse中tomcat启动常见问题(一)

xnuzfm 2019-11-21

tomcat启动时错误:Failed to start component [StandardEngine[Catalina].StandardHost[localhost].错误

Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/omkwt] 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的安装目录进行清理缓存,找到work文件夹。

此文件下有个catalina目录(tomcat小名叫catalina),work目录下的文件都可以删除。

work目录下有一个catalina目录。删除work中的tomcat目录后,缓存已经删除。

myeclipse中tomcat启动常见问题(一)

相关推荐