Results 1 to 2 of 2
  1. #1
    amorfis is offline Member
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    0

    Default How to add JAR to EAR in eclipse J2EE

    Hi,

    I have j2ee plugin installed in my eclipse, and I am trying to build enterprise application. I have two EJB modules and one WEB module. Everything was working fine until I added another JAR to my project. One of EJB modules needs it as well as WAR module, so I added it to my enterprise project (EAR). Unfortunately it doesn't work :( My EJB "can't see" the JAR when I try to deploy application, I get NoClassDefFoundError.

    I added the JAR to enterprise project. Then I can't open properties->J2EE modules dependencies on my ejb project. I get "Page contains invalid values" message. But I added it by modyfying MANIFEST by hand and entering it into Class-Path. It doesn't work.

    How do you add JAR to EAR?

    Regards
    Paweł Stawicki

  2. #2
    xvxv is offline Member
    Join Date
    Jan 2008
    Posts
    1
    Rep Power
    0

Similar Threads

  1. J2se, J2ee
    By mew in forum New To Java
    Replies: 1
    Last Post: 12-13-2007, 10:33 AM
  2. JAVA and J2EE
    By rgbosque in forum New To Java
    Replies: 9
    Last Post: 12-04-2007, 06:28 AM
  3. first J2EE application
    By elizabeth in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 06:46 PM
  4. Replies: 0
    Last Post: 04-26-2007, 10:15 AM
  5. Configuring J2EE Environment on Eclipse IDE
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 04-26-2007, 10:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •