1.SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
答案1:解决方案:
其实是你的jar文件没有同步发布到自己项目的lib目录中。
全局项目clean 之后,全局项目install
2.tomcat启动报错:Unable to complete the scan for annotations for web application [] due to a StackOverflow
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.ASN1Boolean->org.bouncycastle.asn1.DERBoolean->org.bouncycastle.asn1.ASN1Boolean]
上面说的可能两个原因。1是-Xss太小了 ;2是两个包冲突了。具体怎么解决看自己。