首页 > 移动平台 > 详细

报错Error configuring application listener of class org.springframework.web.context.ContextConfigLocation

时间:2019-03-04 00:25:24      阅读:219      评论:0      收藏:0      [点我收藏+]

错误内容是ClassNotFoundException: org.springframework.web.context.ContextConfigLocationdao导致一运行项目就是404

是因为配置在web.xml的listen时不对

应该是

<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>

我写的是

      ContextConfigLocation

<listener>
<listener-class>org.springframework.web.context.ContextConfigLocation</listener-class>
</listener>

报错Error configuring application listener of class org.springframework.web.context.ContextConfigLocation

原文:https://www.cnblogs.com/wth21-1314/p/10468573.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!