数据库
首页 > 数据库> > Error creating bean with name 'sqlSessionFactory

Error creating bean with name 'sqlSessionFactory

作者:互联网

pom文件导错了包。

正确的:

<dependency>
            <groupId>org.mybatis.spring.boot</groupId>
            <artifactId>mybatis-spring-boot-starter</artifactId>
            <version>2.1.4</version>
        </dependency>

错误的:

        <dependency>
            <groupId>org.singledog.spring.boot</groupId>
            <artifactId>mybatis-spring-boot-starter</artifactId>
            <version>1.3.5</version>
        </dependency>

标签:sqlSessionFactory,creating,spring,boot,bean,mybatis,org,starter
来源: https://www.cnblogs.com/Shieryue/p/16410623.html