2016 16:04:51 ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoSupport': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionTemplate' defined in URL [file:/D:/BaiduYunDownload/apache-tomcat-7.0.68/webapps/Process/WEB-INF/classes/spring/ApplicationContext.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in URL [file:/D:/BaiduYunDownload/apache-tomcat-7.0.68/webapps/Process/WEB-INF/classes/spring/ApplicationContext.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [mybaits/mybatis-config.xml] cannot be opened because it does not exist
sqlSessionTemplate配置出现问题,急需解决,不知道是哪里出现问题了求帮忙,必有赏
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
3条回答
- DreamTHT 2016-05-12 08:23关注
ApplicationContext.xml这个文件中的daoSupport这个bean创建失败,另外mybatis-config.xml这个文件没找到
解决 无用评论 打赏 举报
悬赏问题
- ¥15 虚拟机打包apk出现错误
- ¥30 最小化遗憾贪心算法上界
- ¥15 用visual studi code完成html页面
- ¥15 聚类分析或者python进行数据分析
- ¥15 逻辑谓词和消解原理的运用
- ¥15 三菱伺服电机按启动按钮有使能但不动作
- ¥15 js,页面2返回页面1时定位进入的设备
- ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
- ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
- ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝