Skip to content

Commit

Permalink
🎨
Browse files Browse the repository at this point in the history
  • Loading branch information
TAKETODAY committed Jan 1, 2025
1 parent d3605f2 commit f46046b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ protected boolean isOverriddenByExistingDefinition(ComponentMethod componentMeth
// before configuration class processing kicks in...
if (!bootstrapContext.getRegistry().isBeanDefinitionOverridable(beanName)) {
throw new BeanDefinitionOverrideException(beanName, new ConfigurationClassBeanDefinition(configClass, componentMethod.metadata, beanName),
existingBeanDef, "@Bean definition illegally overridden by existing bean definition: " + existingBeanDef);
existingBeanDef, "@Component definition illegally overridden by existing bean definition: " + existingBeanDef);
}
if (logger.isDebugEnabled()) {
logger.debug("Skipping bean definition for {}: a definition for bean '{}' " +
Expand Down

0 comments on commit f46046b

Please sign in to comment.