也是第一次test就報(bào)錯(cuò)了
報(bào)錯(cuò)內(nèi)容:
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).
跪求哪位大佬來(lái)幫我看一下
2018-10-30
1、檢查標(biāo)簽注解是否缺失
2、檢查xml文件路徑配置是否有誤
3、sessionFactory文件注解