In eclipse, I have a project, say ProjectA, which is a dynamic web module. ProjectB is a library used by ProjectA. I have added ProjectB to ProjectA's web deployment assembly, with the deploy path /WEB-INF/lib/ProjectB.jar
.
When I deploy ProjectA onto a Tomcat v6.0 server, everything works fine. However, if I make any changes to ProjectB, no matter what I do, these changes don't seem to be picked up by the deployment.
I have tried the following options Project->Clean... from the main menu, and Clean Module Work Directory... from the server's context menu, but neither works. The only thing that seems to work is deleting the Project, then re-importing it into Eclipse.
Any ideas would be greatly appreciated!
Thanks
Have you checked that Eclipse recognizes ProjectB.jar as a dependency from Project->Properties->Java Build Path? In general, it should show up there. I'm not sure about your exact situation though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With