本地启动项目,提示web包未加载,ClassNotFound(如ContextLoaderListener)

来源:互联网 发布:sass有什么软件 编辑:程序博客网 时间:2024/06/03 08:26

异常原因:

这说明项目依赖的包没有自动加载到tomcat 的工作目录下,需要手动加载

解决方案:

      右击项目 —— Properties —— Deployment Assembly —— 右边add —— Java Build Path Entries —— 选择Maven Dependencies —— OK

阅读全文
0 0