-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The latest springboot using mybatis-spring-stater 3.0.2 throw exception "Invalid value type for attribute 'factoryBeanObjectType': java.lang.String" #855
Comments
I had the same problem when I wanted to use spring-boot |
The doc states that mybatis-spring-boot-starter 3.0 is not compatible with spring-boot 3.2, so @kazuki43zoo is aware of the issue probably. |
@aalx @StreamLuna (cc: @harawata ) |
…ObjectType of BeanDefinition attribute. Fixes mybatisgh-855 * Related with mybatisgh-494 * Related with spring-projects/spring-framework#29799
…ObjectType of BeanDefinition attribute. Fixes mybatisgh-855 * Related with mybatisgh-494 * Related with spring-projects/spring-framework#29799
Corrected to set bean class instead of bean class name to factoryBeanObjectType of BeanDefinition attribute
@aalx @StreamLuna |
I noticed that spring boot 3.2 GA is published, I think the 3.0.3 GA should be scheduled. |
Springboot Version 3.2.0-M2,spring-boot-starter 3.0.2
In this version ,FactoryBeanRegistrySupport.getTypeForFactoryBeanFromAttributes() method has been changed,throw a IllegalArgumentException when "factoryBeanObjectType" not ResolvableType、Class type。But in ClassPathMapperScanner.processBeanDefinitions() menthod ( line 277) set a String type with beanClassName,
The text was updated successfully, but these errors were encountered: