使用的Mybatis-spring依赖的版本3.0.1太高,将版本改为2.2.2
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.2.2</version>
</dependency>
<dependency>标签:java,spring,无法访问,boot,版本,2.2,mybatis,org From: https://www.cnblogs.com/dongyaotou/p/18133900
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter-test</artifactId>
<version>2.2.2</version>
<scope>test</scope>
</dependency>