Spring Boot 升级 3.4 报错 Invalid value type for attribute ‘factoryBeanObjectType‘: java.lang.String
在升级SpringBoot到3.4版本时,遇到Invalidvaluetypeforattribute'factoryBeanObjectType':java.lang.String错误,通常是由于某些Bean的定义或配置不兼容新版本导致的。以下是一些可能的解决方案:检查Bean定义确保所有Bean的定义和配置符合SpringBoot3.4的要求。特别是检查@Bean注解的使用,确保返回类型正确。