Remove some of the code in org.mybatis.spring.mapper.ClassPathMapperScanner#processBeanDefinitions

When I remove this code, mybatis-spring-boot-starter works fine
By removing the relevant code, the result is ResolvableType.NONE
What better way to deal with it?
The changes to the Spring framework are as follows
6.0

6.1
