title: How to include dependencies in WAR file?
body: <p>I have a <code>Dynamic Web Project</code> in Eclipse which has a dependency to another Java project in my workspace. When running the web project in the build-in Tomcat server, I've added the project dependency to the class path in the <em>run configuration</em>. I would like to create a WAR for deploying the web project on an external server. The dependency Java project is added to the <em>Java Build path</em> in Eclipse, but when I export an WAR-file the library is not included. The Java project is also selected in the <em>Order and Export</em>. How can I create a WAR with where my dependencies are included?</p>