IntelliJ 2018.1 Ultimate: Cannot find bean with qualifier


I am constantly having "errors" on "Perform code analysis" before commit due to "Error:(21, 94) Cannot find bean with qualifier 'connectionFactoryBean'"

But if I open "Spring -> Beans -> Spring Application Context", I see the configuration class of that bean (on a light-yellow background) and the bean itself under that class, so definitely IDEA knows that I have this bean


Should I raise a defect or how do I fix it?


You can either disable the inspection or report a bug at if this inspection is false positive.


turned out that this specific file itself was not linked to the context. so Question: should not IDEA automatically add @Configuration annotated classes to a Spring facet?


Please sign in to leave a comment.