首页 > 移动平台 > 详细

Error creating bean with name 'sqlSessionFactory' defined in class path resource [config/spring/applicationContext.xml]: Invocation of init method failed;

时间:2019-10-18 23:32:10      阅读:401      评论:0      收藏:0      [点我收藏+]

我报的错:

  org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory‘ defined in class path resource [config/spring/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource

这个可能是项目刚开始时导入了mapper文件,但还是没有实体类与其对应而报的错,可以把mapper文件先去掉,这样不报错了

 

技术分享图片

 

Error creating bean with name 'sqlSessionFactory' defined in class path resource [config/spring/applicationContext.xml]: Invocation of init method failed;

原文:https://www.cnblogs.com/share-record/p/11701326.html

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