• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiling Client

 
muhsin sabeer
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
muhsin sabeer
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These are compile error message:

package headfirst does not exist
import headfirst.*;

package javax.ejb.* does not exist
import javax.ejb.*;
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic