解决:Invalid value type for attribute 'factoryBeanObjectType’:java.lang.String
AI 摘要salmon-ai
本文详细解析了 Spring Boot 3 整合 MyBatis 时出现的 “Invalid value type for attribute 'factoryBeanObjectType': java
异常
最近在用 SpringBoot3 整合 Mybatis 出现异常:Invalid value type for attribute 'factoryBeanObjectType’: java.lang.String

这是我的版本


解决异常
将版本改为 3.0.3 即可,再此运行就没问题啦。
xml
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>3.0.3</version>
</dependency>

评论
0 条—
还没有评论,来说第一句