Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Spring bean overrides sometimes lead to strange highlights ?

$
0
0

If I have a class annotated as a component

 

@Component("dog")

 

 

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

 

<bean id="dog" class="org.mikeyp.Dog" />

 

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

 

Mike.


Viewing all articles
Browse latest Browse all 5661

Trending Articles