求助:验证dao时出错

来源:2-7 验证Dao

ShinKenKun

2021-03-29

idea报错信息:Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [spring/spring-dao.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: The setting useClumnLabel is not known. Make sure you spelled it correctly (case sensitive).
下面是spring-dao.xml的截图,反复检查了很多遍就是找不出问题来
图片描述

写回答

1回答

ShinKenKun

提问者

2021-03-29

谢谢,已经找出问题了:mybatis-config.xml里的useColumnLabel错拼成了useClumnLabel。错误信息在报错信息里的最后一句话

0
0

Java双版本(SSM到SpringBoot)校园商铺全栈开发

SSM商铺V1.0,解决毕设痛点;SpringBoot商铺V2.0,满足工作刚需

5137 学习 · 8152 问题

查看课程