这个问题是因为部署在tomcat下的项目中没有springweb包

但是问题来了,但是我的项目中有呀,maven都引了呀,然后我就懵B啦!看到这个博客我就豁然开朗了:http://my.oschina.net/u/2538370/blog/538518

 

 

(1)应该如下图所示,点击项目右键-properties,在如下图所示中配置maven和lib包目录的关联关系

     [Spring常见问题]java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

 

相关文章:

  • 2021-05-09
猜你喜欢
  • 2022-12-23
  • 2022-01-08
  • 2021-07-29
相关资源
相似解决方案