Hello,I tried to fiexed #25263,The test case is in ImportedConfigurationClassEnhancementTests#checkOverloadedBean,The test passed,It's in the Spring-Context module,You can verify it. Regards

lifejwang11