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

原因是:你的jar包没有同步到lib中,改错如下:
1、先右击项目名选择properties,选择如下,Deployment Assembly。
在这里插入图片描述
2、选择add,选择Java Build Path Entries进行添加。

在这里插入图片描述
3、全选那些包,然后进行apply,在ok就完了。

猜你喜欢

转载自blog.csdn.net/qq_40349553/article/details/85016920