Eclipse启动Tomcat报错

今天在本地Ecelipse上面部署项目时,启动Tomcat老是出现这个问题:

LifecycleProcessor not initialized

java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call ‘refresh’ before multicasting events via the context: Root WebApplicationContext: startup date [Tue Nov 15 11:34:41 CST 2016]; root of context hierarchy 。报找不到项目启动必须的Spring相关xml文件

经过不断的clean重启,清理Tomcat缓存还是无效之后,最后通过项目右键点击properties->Java Build Path->Source 右边Add Folder

截图.png

选中Resource 点击OK之后 重新编译部署之后 终于跑起来了。