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

老师,运行测试类报错,麻烦一下

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/gaoyang/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 [mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: The setting useHeneratedkeys is not known.  Make sure you spelled it correctly (case sensitive).

正在回答

2 回答

useHeneratedkeys你拼错了吧,改成 useGeneratedKeys


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

我这也是这个问题,解决了吗

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

举报

0/150
提交
取消

老师,运行测试类报错,麻烦一下

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