问答详情
源自:4-7 mybatis整合Spring编码

找不到SqlSessionFactoryBean这个类,是我依赖导错了吗?

http://img1.mukewang.com/5a96579b000118b206140109.jpg

<!--DAO框架:MyBatis依赖-->
<dependency>
 <groupId>org.mybatis</groupId>
 <artifactId>mybatis</artifactId>
 <version>3.3.0</version>
</dependency>
<dependency>
 <groupId>org.mybatis</groupId>
 <artifactId>mybaits-spring</artifactId>
 <version>1.2.3</version>
</dependency>

提问者:qq_不听情歌不煽情_0 2018-02-28 15:18

个回答

  • qq_不听情歌不煽情_0
    2018-02-28 15:39:26

    还真是依赖导错了,大意了mybatis单词拼错了 <artifactId>mybaits-spring</artifactId>改成<artifactId>mybatis-spring</artifactId>