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

来源:3-6 dao层开发

慕工程8423128

2018-05-29 16:40

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回答

  • 慕盖茨8032966
    2018-05-30 15:06:00

    useHeneratedkeys你拼错了吧,改成 useGeneratedKeys


  • 小小码农QAQ
    2018-05-30 11:31:42

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

SpringBoot+MyBatis搭建迷你小程序

SpringBoot+MyBatis搭建小程序后台

91500 学习 · 621 问题

查看课程

相似问题