I have set up my project using annotations and springs component-scan.
This works perfectly fine, everything is scanned and works as a charm.
However IntelliJ is always bugging me with this warning "Spring model inspection" on my component-scan base-package.
Basicly my base-package is red.
So for some reason intellij is unable to resolve my base package?
But this must be an error since my webapp works just fine?
The warning goes away if i remove one of my dependecies from my pom.xml. So it seems as this dependecy somehow breaks intellij's spring-model inspection.
Any ideas on how to fix or correct this? Removeing the dependency is not an option.
Thanks for your help!
Using idea 11.1.3 btw.