tomcat启动出现 org.apache.catalina.core.StandardContext.startInternal Context []
startup failed due to previous errors错误

* 原因:经检查发现web.xml配置的spring的classpath配置路径不对
<https://blog.csdn.net/liutao97/article/details/82767434#webxmlspringclasspath_9>
版权声明:本文为博主原创文章,未经博主允许不得转载。


今天在学习简单的spring框架的时候,在web项目中引入了基本的jar包以及配置,使用tomcat启用的使用报
org.apache.catalina.core.StandardContext.startInternal Context [] startup
failed due to previous errors错误,如下图:


<>原因:经检查发现web.xml配置的spring的classpath配置路径不对

原来配置中:

configLocation
classpath:springstudy.myspring4.webdemo.beans.xml

中的classpath应该改成
classpath:springstudy/myspring4/webdemo/beans.xml
否则的话使用tomcat启用加载web.xml的时候就会出现上述错误。

友情链接
KaDraw流程图
API参考文档
OK工具箱
云服务器优惠
阿里云优惠券
腾讯云优惠券
华为云优惠券
站点信息
问题反馈
邮箱:ixiaoyang8@qq.com
QQ群:637538335
关注微信