maven 工程启动找不到 Spring ContextLoaderListener 的解决办法

1、错误:  Error configuring application listener of class org.springframework.web.context.ContextLoaderListener  
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

2、解决方法:

1). 右键单击工程项目 ->点击 properties
2). 选择 Deployment Assembly
3). 点击 Add -> Java Build Path Entries -> Next
4). 选择 Maven Dependencies -> Finish -> Apply -> OK
5). Clean project and server. 重启server

原文地址:https://www.cnblogs.com/fubaizhaizhuren/p/5257872.html