Caused by: java.lang.ClassCastException: class cn.toint.core.pojo.DO.WechatMpConfigDO cannot be cast to class cn.toint.core.pojo.DO.WechatMpConfigDO (cn.toint.core.pojo.DO.WechatMpConfigDO is in unnamed module of loader 'app'; cn.toint.core.pojo.DO.WechatMpConfigDO is in unnamed module of loader org.springframework.boot.devtools.restart.classloader.RestartClassLoader @44c1c769)
依赖如下
报错如下
业务代码
SpringBoot版本:2.7.15
解决:去掉
mybatis-flex-processor
就不报错了。