Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

NoClassDefFoundError on lookup

Ritesh_Srivastava

2003-11-25


Hi,
 
 While running a test client which is in turn accessing an entity bean, I get the following error on lookup:
 
Exception in thread "main" java.lang.NoClassDefFoundError: javax/security/auth/callback/CallbackHandler
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:131)
 
I have put rt.jar in classpath.
 
I am working on Weblogic8.1.
What could be the problem??
 
Regards
Ritesh

**************************************************************************

This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

**************************************************************************

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

©2008 junlu.com - Jax Systems, LLC, U.S.A.