Tomcat throws ClassNotFound exceptions for classes in other open eclipse projects
I have an eclipse project structure that looks something like this: eclipse project a project b All of these projects are Maven projects. Project B is an Eclipse WTP project and contains Project A as a dependency. I'm using the m2eclipse plugin. When I deploy Project B to Tomcat (all from within Eclipse) it always throws errors saying that it can't find classes from Project A. The only way I can resolve this is to close Project A in Eclipse and do a mvn install command, so at this point Project A is treated like any other dependency. I would like to not have to keep reopening and then closing