aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Compiling Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Compiling Client" Watch "Compiling Client" New topic
Author

Compiling Client

muhsin sabeer
Ranch Hand

Joined: Oct 01, 2005
Posts: 35
I am in chapter-1 of HJ EJB. I have no problem when compiling the bean and interfaces. But I have problem when compiling client class. I followed the book but i got compilation error "packaged headfirst doesnot exist" and "package javax.ejb.* does not exist".

Classpaths set correctly according to installation guidence.

Can anyone help me to figure out where am wrong.

Thanks in advance.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Well, can you post the exact exception.

"packaged headfirst doesnot exist"
Is that the actual error, or are you paraphrasing it, because it doesn't look coorect. packaged? and is there supposed to be a space between does and not, and is the package supposed to be just "headfirst" That looks like you have a typo.

Unfortunately, it looks like you don't have the ejb jar in your classpath, or just another typo.

So basically I'd say it is either a typo or a classpath issue.

Please post the error.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
muhsin sabeer
Ranch Hand

Joined: Oct 01, 2005
Posts: 35
These are compile error message:

package headfirst does not exist
import headfirst.*;

package javax.ejb.* does not exist
import javax.ejb.*;
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Compiling Client