当前使用版本(必填,否则不予处理)

mybatis-plus-spring-boot3-starter 3.5.5 spring-boot-starter-web 3.2.3

该问题是如何引起的?(确定最新版也有问题再提!!!)

我想把spring.datasource等配置写在一个json文件中,我使用mybatis-plus-spring-boot-starter 3.5.3.1以及spring-boot-starter-web 2.7版本时,使用BeanPostProcessor接口在bean初始化之前注入我的外部数据源配置没有问题,但是升级到当前版本后,debug发现这个自动配置类在使用bean instanceof时无法匹配到这个自动配置类,导致无法注入外部配置,我不确定是Springboot的问题还算这个框架的问题还希望能够解答

重现步骤(如果有就写完整)

MyBatis-Plus MyBatisPlusAutoConfiguration的Bean扫描失效导致无法注入外部数据源信息配置

报错信息

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.