【Java报错已解决】org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition w
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name \'xxxMapper\' defined in file [D:\\.......\\mapper\\xxxMapper.class]: Invalid value type for attribute \'factoryBeanObjectType\': java.lang.String
之前:
com.baomidou mybatis-plus-boot-starter 3.5.8
我这里用的spring版本是3.+,所以可能是maven依赖
版本不兼容
解决:
com.baomidou mybatis-plus-spring-boot3-starter 3.5.7