Closed
Description
The Method getRequiredBeanClassName
of ConfigurationUtils
has lost the placeholder for beanDefinition
.
if result
is null, The error message lost beanDefinition
information.
public static String getRequiredBeanClassName(BeanDefinition beanDefinition) {
Assert.notNull(beanDefinition, "BeanDefinition must not be null");
String result = beanDefinition.getBeanClassName();
if (result == null) {
throw new IllegalArgumentException(
// lose the placeholder for beanDefinition
String.format("Could not obtain required bean class name from BeanDefinition", beanDefinition));
}
return result;
}