Java技术栈2023-12-26 · 约 1 分钟
Springboot3.2.0整合Mybatis-plus3.5.4.1 解决启动报错 'factoryBeanObjectType': java.lang.String
启动报错
java.lang.IllegalArgumentException: Invalid value type for attribute 'factoryBeanObjectType': java.lang.String
原因
mybatis-plus-boot-starter中的mybatis-spring版本是2.1.1,与springboot3.2不兼容

解决方案
排除starter中的mybatis-spring依赖,手动引入


解决
已解决!
觉得有用就点个赞吧