This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes ejb compiling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ejb compiling" Watch "ejb compiling" New topic
Author

ejb compiling

Meghana
Greenhorn

Joined: Jan 16, 2002
Posts: 6
Hi,
I have written the interfaces and the implementation class but when i try to compile them , i get this error message. Please help. Iam using Weblogic6.0 as my server.
package javax.ejb does not exist
import javax.ejb.*;
Please help. What I am missing out on ? Do i need to include anything else in the classpath.. any help is appreciated!
Thankyou
Meghana
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3879
It sounds like you need to include j2ee.jar on your classpath.
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Meghana
Greenhorn

Joined: Jan 16, 2002
Posts: 6
hi,
Can you please tell mw where I can download the J2EE.jar from. Thankyou very much.
Meghana
Meghana
Greenhorn

Joined: Jan 16, 2002
Posts: 6
hi,
I got it thankyou!
Meghana
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ejb compiling
 
Similar Threads
javax.Ejb.8 not found
I m new to EJB. Need a little help for EJB compilation.
error in compiling, ejb
Unable to find javax.ejb package
Really need your help with EJB and FORTE