So I’m trying to work with a web project setup in the Maven directory style by someone else… and it refuses to deploy. I’ve tried several things to solve this problem, though none of the 3 error messages make any sense and nothing works:
1. I add deployment – and choose the Server: Tomcat 5, but Finish stays greyed-out.
2. I flip the radio button and can now Finish. (if you click Finish here, go directly to #7)
3. If I flip it back to Exploded Archive, I get “Undefined exploded archive location” – how do I check that?
4. I click on Edit server connectors…, and click OK without doing anything – and I get the error message “Select Application server for deployment”, except that it still says Tomcat
5. I click the select box and again choose Tomcat 5 – the error goes away.
6. I click Finish.
7. Tomcat 5 is listed with a warning triangle. The message at the bottom is “Deployment is out of date due to changes in the underlying project contents. …” which of course makes no sense because I just deployed it. No actions remedy this without removing the deployment.
Now I think it has to be specific to this project since I’ve deployed several apps before to Tomcat 4 and 5. I’ve tried manually copying in a .metadata file, hand editing other files, and making a build.xml to generate a web directory from the embedded directory structure with the same results. Alternatively, creating a brand new MyEclipse web project works perfectly.
Any hints? Eclipse 3.1.2, MyEclipse 4.1.1 GA.
Thanks.