Maven+spring 报错:Error configuring application listener of class org.springframework.web.context.Cont

转载自:https://blog.csdn.net/hunhun1122/article/details/80027352 

Maven+spring 报错:Error configuring application listener of class org.springframework.web.context.ContextLoaderListener


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

解决方案:

1. 打开工程属性对话框,到Deployment Assembly页面,点击Add

Maven+spring 报错:Error configuring application listener of class org.springframework.web.context.Cont
2. 选择Jave Build Path Entries

Maven+spring 报错:Error configuring application listener of class org.springframework.web.context.Cont

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

Maven+spring 报错:Error configuring application listener of class org.springframework.web.context.Cont

4. 重新运行Server应该看不到这个问题了