Cleaning up spurious SpringIDE warnings
I've been using SpringIDE for my Spring applications for a while now, and it is a very nice tool. It makes visualising your Spring configuration files, navigating through beans, and spotting configuration errors, much easier all round. Not to mention the nice Spring Webflow editor.
However, one thing has been irritating me for some time. Consider the following screenshot:
Eclipse (or, more precisely, SpringIDE) is complaining that it can't find the sessionFactory bean. Now, you can take my word for it, the sessionFactory bean does exist, it's just defined in another Spring configuration file. It is my habit to split my Spring bean configuration between several configuration files, which makes things more flexible and easier to understand.
But these warnings were bugging me. I'd declared all the Spring configuration files in the SpringIDE section of the project properties (see below), but Eclipse still didn't seem to be able to find the references to beans in other files.
As it turns out, the solution was right in front of me. You just have to go to the Config Sets tab and create a Config set containing all of your configuration files.
Once you've done this, everything works fine, and no more spurious warnings!