facebook

Unable to deploy J2EE project

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

    Alex Hamer
    Member

    I am trying to deploy a web project to Tomcat 5.0. I have been been able to deploy before using the regular directory structure when creating a web project with myeclipse. However, trying to follow the maven directory structure doesnt work to well, either using the expanded or packaged archive. The New Deployment screen in Myeclipse indicates Invalid for the deployment location. If I have a directory structure like:

    main
    —-src
    ———-java
    ———-webapp
    —————–META-INF
    —————–WEB-INF
    target
    xdocs
    dist

    Can I use the deployment feature of Myeclipse to automatically deploy this in either exploded or packaged archive? Or am I limited to follow the way Myeclipse sets up the directory structure? Thanks.

    #233418 Reply

    Scott Anderson
    Participant

    Basically, we can’t automatically deploy any random directory structure as as war. For our deployer to function properly at some level you need to be able to specify a web root directory that is essentially a war format in exploded format. From the above, that might be your webapp folder, provided your java source is set to compile into webapp/WEB-INF/classes.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Unable to deploy J2EE project

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