Tomcat启动抛错——SEVERE: Error configuring application listener of class org.springframework.web.context.

今天用eclipse搭建了一个soa的maven项目,总是抛SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoade

网上找了很多方法也没有解决问题,后面最终找到终极解决方案。

错误信息:
SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
解决方案:
1. 打开项目右键--->properties之后,到Deployment Assembly页面,点击Add

Tomcat启动抛错——SEVERE: Error configuring application listener of class org.springframework.web.context.

2. 选择Jave Build Path Entries

Tomcat启动抛错——SEVERE: Error configuring application listener of class org.springframework.web.context.

3. 把程序用于的Library加入进来

Tomcat启动抛错——SEVERE: Error configuring application listener of class org.springframework.web.context.

4. 重新运行Server应该看不到这个问题了OK完美解决!