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>
posted @ 2022-06-25 01:17  Shieryue  阅读(65)  评论(0编辑  收藏  举报