I am using Eclipse for Java EE and Tomcat Server 7.0. I created two projects in my workspace – a core Java and a web project.
I have the core Java project added to the build path of web project and this allows for the compilation of the web project, error free. But my problem is that at run-time the web project is not referring to or picking up the Java files from the core Java project.
What is the solution for this?
Export your core Java project to a jar file from eclipse & add this jar file to your classpath. This should resolve your issue.