web.xml中容器监听org.springframework.web.context.ContextLoaderListener报错

原因是:你的jar包没有同步到lib中,改错如下:
1、先右击项目名选择properties,选择如下,Deployment Assembly。
web.xml中容器监听org.springframework.web.context.ContextLoaderListener报错
2、选择add,选择Java Build Path Entries进行添加。

web.xml中容器监听org.springframework.web.context.ContextLoaderListener报错
3、全选那些包,然后进行apply,在ok就完了。