jim_cg 2022-02-13 21:56 采纳率: 0%
浏览 49
已结题

spring整合mybatis错误

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: The setting logTmpl is not known. Make sure you spelled it correctly (case sensitive).
这是错误

  • 写回答

3条回答 默认 最新

  • CSDN专家-sinJack 2022-02-13 22:00
    关注

    Failed to parse config resource: class path resource [mybatis.xml];
    mybatis配置有异常,logTmpl配置的地方不能解析。

    评论 编辑记录

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 8月28日
  • 创建了问题 2月13日