qq_左手牵右手_1
2018-07-06 02:10
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'bookInfoDao' defined in file [/Users/fqs/Desktop/java/book/target/classes/com/wx/book/dao/bookInfoDao.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/wx/book/config/mapper/SessionFactoryConfig.class]: 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 userGeneratedKeys is not known. Make sure you spelled it correctly (case sensitive).
问题解决了吗,我也是一直这个错,能分享一下解决方案吗?
SpringBoot+MyBatis搭建迷你小程序
91499 学习 · 621 问题
相似问题