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).
这是错误
spring整合mybatis错误
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
3条回答 默认 最新
- CSDN专家-sinJack 2022-02-13 22:00关注
Failed to parse config resource: class path resource [mybatis.xml];
mybatis配置有异常,logTmpl配置的地方不能解析。解决 无用评论 打赏 举报 编辑记录