垃垃垃圾程序员 2017-05-20 19:32 采纳率: 0%
浏览 6105

mybatis-config.xml报错问题,求助!

错误信息如下:

[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@20b9d5d5{/test,file:///E:/workspace/FrameWorkTest/src/main/webapp/,UNAVAILABLE}{file:///E:/workspace/FrameWorkTest/src/main/webapp/}
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actDao' defined in file [E:\workspace\FrameWorkTest\target\classes\com\cyhx\framework\receptacle\activiti\dao\ActDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [E:\workspace\FrameWorkTest\target\classes\config\spring-context.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [config/mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.RuntimeException: mybatis dialect error.

实在没办法了,死活说我的mybatis-config.xml有问题,但我实在找不出问题,求助!!

  • 写回答

3条回答

  • legendCoder 2017-05-21 01:44
    关注

    是不是sqlSessionFactory的配置有问题,把你相关代码检查一下。

    评论

报告相同问题?

悬赏问题

  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?