I have recently migrated a Java Client project to a Java Server project, using Tomcat, I have found that project library dependencies may be broken.
Ordinarily I include the Libraries into the Java Build Path via the Eclipse menu option. I store the Libraries in the project
When I do this via a Tomcat server build I get errors on the library objects. I understand that you may need to load the libraries separately via;
However when I do this a
NoClassDefFoundError exception is thrown. So I figure I'm loading the dependencies wrong. But how do I do that via Eclipse & Tomcat?
I should also mention that I am using the "Run On Server" feature of eclipse, just in case this changes anything regarding different requirements for running in Eclipse and deployment.