facebook

Configuration for exporting WARs | Tomcat 6 | Java EE

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #295259 Reply

    jpcamara
    Member

    I’ve created a web project that is J2EE 5 compliant. Using the integrated tomcat server I can deploy and use the jstl just fine.

    When exporting the WAR and deploying it to tomcat on a testing server, it always fails.
    I realized it was because the jstl.jar was not being exported w/ my WAR.

    Is there a way to setup myeclipse to export the jstl in my WAR? I know I could just take that jar and put it into the external tomcats lib folder, but I’d rather do this on a web project basis.

    Thanks,

    -JP

    #295260 Reply

    ggb23
    Member

    I’ve had this issue too. I’m guessing its because if you just export the WAR, MyEclipse doesn’t know what web server you’re building for so the JARs included aren’t always right. Any easy way to fix this is to just deploy to Tomcat in packaged mode then cherry pick the WAR file out of the tomcat\webapps folder.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Configuration for exporting WARs | Tomcat 6 | Java EE

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