How to deploy web project on remote tomcat server outside Eclipse with .jar files in it <p>I have Rest <strong>API Project A</strong> which uses Project B and Project C for Database retrieval</p> <p><strong>Project B</strong>, <strong>Project c</strong> In which JPA is used for DB. Project A is working in Eclipse as i have added Project B and Project C's dependency at following places: </p> <ol> <li>Properties -> <strong>Deployment Assembly</strong>--> Add -> Project B and C</li> <li><strong>Debug Configurations</strong> -> Classpath -->User Entries --> Add Projects B and C which includes all .jars of B and C automatically</li> <li>Added project B and C to <strong>Projects--> Properties</strong></li> </ol> <p>Now i want my web project to run on <strong>Localhost without Eclipse.</strong></p> <p>I made ProjectA.war file and put it in tomcate's webapps folder and run tomcat.</p> <p>It performs normal function like if i want to print Hello. it does..</p> <p>But when i try to run any function which in turn call project B and C's function which has query to Database JPA its Not working.It doesn't return any data.</p> <p>After Deploying .war in tomcat In Project A <code>webapps\ProjectA\WEB-INF\lib</code> only .jar which i added in <code>Properties -&gt; Deployment Assembly--&gt; Add -&gt; Project B and C</code> Appears.</p> <p>How can i make it work to use project B and C also. Please Help what .jars or dependencies should i also need to include and where??</p>