Browse Source

Fix exception message in getMergedBeanDefinition

Closes gh-24686

Co-authored-by: Sam Brannen <sbrannen@pivotal.io>
pull/24221/head
Qimiao Chen 6 years ago committed by GitHub
parent
commit
201827cb0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java

2
spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java

@ -1343,7 +1343,7 @@ public abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport imp
else { else {
throw new NoSuchBeanDefinitionException(parentBeanName, throw new NoSuchBeanDefinitionException(parentBeanName,
"Parent name '" + parentBeanName + "' is equal to bean name '" + beanName + "Parent name '" + parentBeanName + "' is equal to bean name '" + beanName +
"': cannot be resolved without an AbstractBeanFactory parent"); "': cannot be resolved without a ConfigurableBeanFactory parent");
} }
} }
} }

Loading…
Cancel
Save