java - Eclipse WTP does not publish project dependencies in WebContent -


I am currently working on a Java EE project, I have successfully developed a web service and it is available for testing purposes. Is deployed under the Apache server.

I have now divided my project into two projects: one master one and another dependency (let's say "utilities") when developing, do not complain about eclipse compilation problems, because I "Youthil "Project is added as a dependency in the" build path "setup.

However, while launching Tomcat, (as an embedded server), it complains about "Utilities" not finding the class of projects.

I expected to eclipse "Utils / Bin" to copy in WebContent / Web-NF / Classes, but it's not. How do I automate it?

FYI, I'm not using Maven yet (but I'm planning to)

Thank you in advance for this, so whenever there is a change, "Utils / bin" gets deployed in the webfolder. Your help, kind regards,

Rafael

You can do this by adding it The project is used as a module for your 'master' project, I think the master project is the web or ear app right-click on Project -> Properties -> JavaEE module dependency. The Utils project will be included in the Eclipse Utility project will be included in the deployment.


Comments