Our project has some dozen maven modules. It uses both Spring and JSF.
Many injection points are highlighted by IDEA as having an "Ambiguous Dependency".
I figure that the reason is that IDEA uses both Spring and CDI resolutions.
Note the _two_ icons on these screenshots.
The left (green, Spring) icon shows the correct beans:
The right one (brown, CDI(?)) shows wrong ones:
If I disable the CDI plugin completely, then the error is gone. Unfortunately then JSF support is also gone, because it depends on CDI.
There are only Spring and JPA facets in my project configuration.