求助:验证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。错误信息在报错信息里的最后一句话
00
相似问题