这篇文章记录一下Spring Boot从1.5.22升级至2.3.3后,升级Mybatis所碰到的问题。
版本说明
-
Spring Boot版本:2.3.3
-
Mybatis升级前
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>1.3.5</version>
</dependency>
- Mybatis升级后
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.1.3</version>
</dependency>
问题现象
[main] ERROR org.springframework.boot.web.embedded.tomcat.TomcatStarter - Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. Message: Error creating bean with name 'SSOFilterConfig': Injection of resource depen

本文记录Spring Boot从1.5.22升至2.3.3时,Mybatis从旧版升级到2.1.3过程中遇到的问题。升级后在运行阶段出现的问题,通过查阅官方内容和示例,最终找到了解决方案。
最低0.47元/天 解锁文章
4226

被折叠的 条评论
为什么被折叠?



