解决方案 1、spring boot版本降低至3.1.0以及以下。 2、如果不想降低springboot版本将 mybatis-spring JAR 升级到 3.0.3 版本。 这似乎是spring.cloud.data版本不兼容导致的 参考:Invalid value type for attribute 'factoryBeanObjectType': java.lang.String · Issue #31247 · spring-projects/spring-framework · GitHub "Invalid value type for attribute 'factoryBeanObjectType': java.lang.String" exception with new version Spring Boot 3.2.0 · Issue #950 · spring-cloud/spring-cloud-openfeign · GitHub