Duplicate bean IDs reported as error when present in multiple spring context files

We have a pretty large mult-module enteprise project. Some of the modules define Spring beans with the same ID. The modules are not directly related but they are defined in the same Intellij project. I have different Spring facet filesets defined for each module so I was surprised when inside the editor the bean ID is reported as an error but it's not an error unless all the context files are rolled up into one and they are not. Anything I can do besides disable the inspection?

Grant

1 comment
Comment actions Permalink

For what it's worth this appeared to be a cache corruption. I invalidated the caches and the errors disappeared from the editor.

0

Please sign in to leave a comment.