I’m using MyEclipse 5.0 GA. And for the life of me. I can not get a war file to include a dependent jar project when I export it.
The warning message I get is that “Deployment is out of date due to changes in the underlying project contents. You’ll need to manually ‘Redeploy’ the project to update the deployed archive.”
I created the most simplistic example I could, but can’t figure out what I’m doing wrong. The first step I did was create a simple Java project called myjar that had one class in it called Test Class (see image below).
Then I created a MyEclipse WebProject and enabled it for struts and added the myjar to the Java Build Path Project (see image below).
Then I made sure that the “Jar dependent projects and place in the ‘lib’ directory option was selected under the MyEclipse->Web->Deployment options. (see image below).
Then I selected the Export War option expecting the jar to be included in the war file. (see image below).
The war does not generate and a warning message has appeared stating that “Deployment is out of date due to changes in the underlying project contents. You’ll need to manually ‘Redeploy’ the project to update the deployed archive.” (see image)
Please help! I feel like I’m just missing one step but can’t seem to find it. I have no idea how to get rid of this error message, or even do this very simple task.