Exception in thread "main" java.lang.NoClassDefFoundError: javax/security/auth/c
allback/CallbackHandler
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
extFactory.java:131)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at jmseg.SimpleQueueSender.queueSender(SimpleQueueSender.java:60)
at jmseg.SampleMDBClient.main(SampleMDBClient.java:30)
I am working on weblogic 8.1
can anyone help me with solution ?
-
java.lang.NoClassDefFoundError: javax/security/auth/callback/Cal (4 messages)
- Posted by: Balaji Ramalingam
- Posted on: April 01 2004 00:16 EST
Threaded Messages (4)
- java.lang.NoClassDefFoundError: javax/security/auth/callback/Cal by Vijaykumar Natarajan on April 01 2004 18:39 EST
- class path by neeraj verma on October 28 2004 06:44 EDT
- Did that work by Shankar Ganesh on February 04 2005 00:02 EST
- Did that work by Carlos Henrique Duarte on February 04 2005 06:46 EST
-
java.lang.NoClassDefFoundError: javax/security/auth/callback/Cal[ Go to top ]
- Posted by: Vijaykumar Natarajan
- Posted on: April 01 2004 18:39 EST
- in response to Balaji Ramalingam
Look for a jar called jaas.jar (unless WLS has repackaged it). This contains this class (part of the JAAS implementation). You seem to be missing this in your classpath. -
class path[ Go to top ]
- Posted by: neeraj verma
- Posted on: October 28 2004 06:44 EDT
- in response to Vijaykumar Natarajan
add jaas.jar to ur classpath. it shud work. -
Did that work[ Go to top ]
- Posted by: Shankar Ganesh
- Posted on: February 04 2005 00:02 EST
- in response to Balaji Ramalingam
The point i wanna make it clear is that is this a problem with rt.jar which is with my JDK. -
Did that work[ Go to top ]
- Posted by: Carlos Henrique Duarte
- Posted on: February 04 2005 06:46 EST
- in response to Shankar Ganesh
I have been using Oracle 9iAS with same error. What solve this was remove classes deployed with Applications. I don't know why, but work fine after this.
Best regards.