I have two Eclipse projects A, B. I add a dependency of B to A. At compile time everything is fine. I added B to the build path of A. However, when I deploy A to Tomcat I get a ClassNotFound exception of a Class which is defined in A. I followed all possible solutions I found around:
Tomcat throws ClassNotFound exceptions for classes in other open eclipse projects
Eclipse Web-App Deployment with Tomcat: Providing multiple projects' dependencies?
http://www.bigsoft.co.uk/blog/index.php/2008/11/12/adding-multiple-eclipse-projects-to-tomc
However, nothing seems to work. Anybody has an idea