为了账号安全,请及时绑定邮箱和手机立即绑定

也是第一次test就报错了

报错内容:

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'employeeDao' defined in file [/home/zhaoyl/mybatisDemo/target/classes/com/mybatis/demo/dao/EmployeeDao.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/mybatis/demo/config/dao/SessionFactoryConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [conf.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: The setting mapUnderscoreToCamleCase is not known.  Make sure you spelled it correctly (case sensitive).

跪求哪位大佬来帮我看一下


正在回答

1 回答

1、检查标签注解是否缺失

2、检查xml文件路径配置是否有误

3、sessionFactory文件注解

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

也是第一次test就报错了

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信