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

测试的时候一直报这个错

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).


正在回答

1 回答

问题解决了吗,我也是一直这个错,能分享一下解决方案吗?


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

举报

0/150
提交
取消

测试的时候一直报这个错

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