- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 seata安装部署(win10)
创建seata数据库,表语句在script\server\db目录,若没有,可在官网找https://github.com/apache/incubator-seata/tree/2.x/script/server/db。重点,每个业务表中添加UNDO_LOG 表:可选择对应seata版本https://github.com/apache/incubator-seata/tree/2.x/script/client/at/db。9.配置文件,让微服务能通过注册中心找到seata-server。
2025-02-08 18:38:15
614
原创 springboot使用mybatis-plus,启动后No qualifying bean of type ‘com.example.mapper.xxxxxMapper‘ available
springboot使用mybatis-plus 在启动类加上@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})//此时yml还没配置数据库连接,就算mapper中添加了@Mapper,也会报错,,同时去掉@MapperScan(value = "org.example.reggie.mapper"),(exclude= {DataSourceAutoConfiguration.class})这说明需要一个数据连接,
2025-01-13 21:36:37
320
原创 升级SpringBoot到3.3.6报:Invalid value type for attribute ‘factoryBeanObjectType‘: java.lang.String
在升级SpringBoot到3.3.6后,依赖mybatis,报错:Invalid value type for attribute ‘factoryBeanObjectType‘: java.lang.String。包含了org.mybatis:mybatis-spring:2.1.2,可能是这个mybatis-spring版本不支持SpringBoot3.--剔除掉mybatis-spring,在单独引入新版本-->
2024-12-25 18:52:57
304
原创 升级springboot到3.3.x后,整合mybatis,报Invalid value type for attribute ‘factoryBeanObjectType‘: java.lang.S
springboot3整合mybatis报Invalid value type for attribute ‘factoryBeanObjectType‘: java.lang.String错误
2024-12-06 16:20:24
945
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人