报Invalid value type for attribute ‘factoryBeanObjectType‘: java.lang.String错误

报Invalid value type for attribute ‘factoryBeanObjectType‘: java.lang.String错误

1.没有使用MybatisPlus的时候

可能是你项目中缺少这个依赖,或者版本过低。导入以下maven坐标

    org.mybatis
    mybatis-spring
    3.0.3

2.有使用MybatisPlus的时候

mybatis-plus中集成的mybatis版本太旧,产生了冲突。导入以下maven坐标

        

            com.baomidou

            mybatis-plus-boot-starter

            3.5.4.1

        

        

            org.mybatis

            mybatis-spring

            3.0.3

        

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/c9df1ddf4c.html