解决 Error configuring application listener of class org.springframework.web.context.ContextLoade

搭建ssm项目,Tomcat启动后,显示下面这个错误,也没提示信息的是最烦人的,这样试了一下解决掉

错误信息:
SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener

解决方案:

1. 右键打开工程属性对话框,到Deployment Assembly页面,点击Add
解决 Error configuring application listener of class org.springframework.web.context.ContextLoade

2. 选择Jave Build Path Entries
解决 Error configuring application listener of class org.springframework.web.context.ContextLoade
3. 把程序用于的Library加入进来
解决 Error configuring application listener of class org.springframework.web.context.ContextLoade
4. 重新运行Tomcat应该看不到这个问题了