Spring bean overrides sometimes lead to strange highlights ?

If I have a class annotated as a component


picked up by a component scan, then later overridden by xml bean definition

<bean id="dog" />

then intellij will incorrectly display an error saying the bean name is duplicated, when it is valid spring? Is this a known bug ?


Please sign in to leave a comment.