Results 1 to 2 of 2
- 11-27-2007, 01:26 AM #1
Member
- Join Date
- Nov 2007
- Posts
- 2
- Rep Power
- 0
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
- 01-03-2008, 10:34 AM #2
Member
- Join Date
- Jan 2008
- Posts
- 1
- Rep Power
- 0
Similar Threads
-
J2se, J2ee
By mew in forum New To JavaReplies: 1Last Post: 12-13-2007, 10:33 AM -
JAVA and J2EE
By rgbosque in forum New To JavaReplies: 9Last Post: 12-04-2007, 06:28 AM -
first J2EE application
By elizabeth in forum New To JavaReplies: 1Last Post: 08-07-2007, 06:46 PM -
Configuring Xdoclet for J2ee Applications in Eclipse
By JavaForums in forum EclipseReplies: 0Last Post: 04-26-2007, 10:15 AM -
Configuring J2EE Environment on Eclipse IDE
By JavaForums in forum EclipseReplies: 0Last Post: 04-26-2007, 10:15 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks