Maven+web运行时 报错:Error configuring application listener of class org.springframework.web.context..

错误信息:
Error configuring application listener of class org.springframework.web.context.ContextLoaderListener

报错原因:
原因很简单其实是你的jar文件没有同步发布到自己项目的lib目录中
解决方案:

  1. 点击 报错的项目右击properties(属性)

在这里插入图片描述

  1. 打开工程属性对话框,到Deployment Assembly页面,点击Add
    在这里插入图片描述
  2. 选择Jave Build Path Entries
    在这里插入图片描述
  3. 把程序用于的Library加入进来
    在这里插入图片描述
  4. 重新运行Server就看不到这个问题了

猜你喜欢

转载自blog.csdn.net/qq_38274970/article/details/85039381