This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 3892
    
    5
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
 
Don't get me started about those stupid light bulbs.
 
subject: ejb compiling
 
Similar Threads
Unable to find javax.ejb package
Really need your help with EJB and FORTE
error in compiling, ejb
I m new to EJB. Need a little help for EJB compilation.
javax.Ejb.8 not found