I have java web project in eclipse. This project depends on other non-web project (let say backend project).
When I make a change in backend project, and then deploy web project to tomcat and start tomcat, changes don’t appears.
It works only following way:
I have to build backend.jar, copy it to web project web-inf/lib directory, and then deploy it on tomcat and run it.
java se6, tomcat 6, eclipse 3.7
Do you know how to handle this problem?
Thanks
So right click on your web project -> properties -> Deployment Assembly.
There is possibility to “add”. And you can choose folder, jar or project. After it, remove and add back you web project to web server. Than you should see small arrow next to your project. When you click on it, all referenced projects appears. And that is it.
Maybe is also important on backend projects setup facet “Utility Module”.