[jboss-user] [Beginners Corner] - Re: Problem with new InitialContext().lookup(

PeterJ do-not-reply at jboss.com
Mon Feb 16 10:33:57 EST 2009

When interpreting an exception stack trace, always follow the "caused by" chain - the final "caused by" is usually the root cause. In this case:

Caused by: java.lang.ClassNotFoundException: beanpackage.HelloBeanRemote 

Apparently, you did not include the client library for your EJB in your client's classpath. (The client EJB library contains the interfaces for the EJB, but not the EJBs themselves.)

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210386#4210386

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210386

More information about the jboss-user mailing list