java.lang.ClassNotFoundException:org.springframework.web.context.ContextLoaderListener

问题截图如下:java.lang.ClassNotFoundException:org.springframework.web.context.ContextLoaderListener## 解决办法:

1、右击项目选择Properties
java.lang.ClassNotFoundException:org.springframework.web.context.ContextLoaderListener
2、选择Deployment Assembly——>Addjava.lang.ClassNotFoundException:org.springframework.web.context.ContextLoaderListener
3、选择Java Build Path Entries,然后next
java.lang.ClassNotFoundException:org.springframework.web.context.ContextLoaderListener
4、选择Maven Dependencies ,然后点击finish,最后Apply and Close(很关键的一步,别漏了!!)
java.lang.ClassNotFoundException:org.springframework.web.context.ContextLoaderListener