How to add JAR to EAR in eclipse J2EE
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?