我是照这方法弄好的  把maven的依赖加入编译的环境里 

 

在初学使用maven构建javaWeb的项目的时候,启动tomcat加载时,总是提示如下错误,辛苦一番终于找到解决办法。

严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerJava.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

根本原因:jar文件没有同步发布到自己项目的lib目录中

 

 

解决办法:项目点击右键 点击 Properties 选择Deployment Assembly

 再点击右边的Add按钮 选择Java Build Path Entries后点击Next按钮 然后选择你的Maven Dependencies 确定即可

 

 

 

 

 

导入maven项目运行出错:eclipse 启动tomcat出错:严重: Error configuring application listener of class org.springframe

导入maven项目运行出错:eclipse 启动tomcat出错:严重: Error configuring application listener of class org.springframe

导入maven项目运行出错:eclipse 启动tomcat出错:严重: Error configuring application listener of class org.springframe

导入maven项目运行出错:eclipse 启动tomcat出错:严重: Error configuring application listener of class org.springframe

相关文章:

  • 2021-05-08
  • 2021-12-21
  • 2021-10-09
  • 2021-12-02
猜你喜欢
  • 2021-10-05
  • 2021-06-29
  • 2022-01-23
  • 2021-04-03
  • 2021-07-25
  • 2022-12-23
  • 2021-04-02
相关资源
相似解决方案