Referencing classes in other projects
I'm trying to get my first Spring web (WebSphere) application up-and-running, so please bear with me ;)
I had the app functioning when I then realized I had to refactor one of my beans out of the project and into a new non-Spring project. I refactored all of the java code and it compiles fine (I included the new project on the existing project's class-path). However now when I go to start the app up, I get a Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError error. I'm assuming that Spring can't 'see' the class in the other project even though it's linked on the ClassPath.
So my question is, is it possible to have the app set up this way? I look at the @Import resources option, but that seems to only pertain to configuration files.
Any suggestions?
Thanks!