myeclipse中tomcat启动常见问题(一)
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目录后,缓存已经删除。
相关推荐
A.在myeclise中恢复例子开发环境:1>在myeclipse中新建一个web工程,项目名称自己任意取名,"J2EE Specification Level"一栏选择"J2EE1.4",然后点击"