facebook

Cannot deploy project [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #223690 Reply

    I have about 7 or so projects in my eclipse that I am currently working on, I have just got hold of a new project from SVN however eclipse will not deploy the project, giving the error “undefined exploded archive location”.

    All of my other projects have deployed fine, no problems there, my co-worker who created the project is able to deploy the project ok to his machine , however this one particular project simply will not deploy on my machine.

    When i try and do a packaged deployment, I receive the ‘Deployment is out of date due to changes in the underlying project contents’.

    Is there something in the way a project might be constructed that gives rise to deployment problems?
    I really need to start working on this project asap, any help would be greatly appreciated.

    W.Coleman

    #223693 Reply

    Riyad Kalla
    Member

    W,
    Try and do this:
    1) Shut down your app server
    2) Open up the deployment tool
    3) Select the project in question from the dropdown and click the “Remove” button
    4) Verify that it’s deployment has been removed
    5) Click “Deploy”, now select the deployment and make sure down in the status Window it says something like “Deployment successful”, if it doesn’t, tell me what the message is and we can go from there.

    Also if this doesn’t fix the problem, next time you post can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.

    #223766 Reply

    I tried what you suggested to no avail, the same thing happened – I will detail the process i went through step by step.

    In the deployment tool, when i select the project and the server (tomcat 5.0 in this case), the ‘finish’ button remains grayed out, if i change the deploy type to packaged, and then back to exploded, the finish button goes back to being grayed out and the error ‘undefined exploded archive location’ appears at the top.

    If I choose to deploy it as a packaged type, it does not get deployed, it appears as an error in the ‘manage deployments’ window with the error ‘deployment is out of date due to changes in the underlying project structure’. I have tried to get round it using a custom location instead of Tomcat 5.0 but that leads to the same error as the packaged method.

    Just to re-iterate, this is one of several projects i have in eclipse, all the others deploy without problems, its just this one that will not work.

    I did not create the project, it was created by a co-worker and I grabbed it using SVN. He uses a mac and myeclipse 3.8.2, i am using a pc (windows xp) and use myeclipse 3.8.3. He is able to deploy the project fine on his machine, i am just unable to on mine. We have often shared projects in this way, this is the first time we have had this problem.

    The fact that all other projects deploy fine leads me to think that it is a problem with the project itself but I don’t know what problem a project would have in order to cause a deployment problem. Missing files perhaps?

    I am using Java 1.4.2, eclipse version 3.0.0, Tomcat 5.0,

    #223781 Reply

    Riyad Kalla
    Member

    the finish button goes back to being grayed out and the error ‘undefined exploded archive location’ appears at the top.

    Is the location box empty at this point?

    I did not create the project, it was created by a co-worker and I grabbed it using SVN.

    Can you verify that the project is a Web project. Right click, go to Project properties, do you see a MyEclipse-Web properties panel with values filled in? If you switch to the Navigator view, do you see a .mymetadata file?

    The fact that all other projects deploy fine leads me to think that it is a problem with the project itself but I don’t know what problem a project would have in order to cause a deployment problem. Missing files perhaps?

    Hard to say, although a user with almost an identical problem ended up recreating his project yesterday and walla, everything worked as it should…

    Try this, undeploy the project again, and CLOSE all your projects. Then shut down MyEclipse, edit your shortcut usde to launch it and add the -clean argument, then start it back up. Sometimes the Eclipse plugin cache gets messed up and it can manifest itself in very strange ways.

    #223799 Reply

    Problem solved, it looks like it was a problem with the Subclipse plugin which I have just updated, we have gone through the SVN process step by step and grabbed the project again, and it has deployed fine.

    Seems the webroot folder should have been blank but had ‘Webroot’ in it, I wouldnt have thought to look at this if you hadnt of suggested checking the project->properties->myeclipse-web.

    Thanks a lot for all you help, now i have to cram 3 days work into the next 3 hours 😀

    #223802 Reply

    Riyad Kalla
    Member

    Thanks a lot for all you help, now i have to cram 3 days work into the next 3 hours 😀

    Hah, I’m glad its working but sorry it held you up for so long.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Cannot deploy project [Closed]

You must be logged in to post in the forum log in