javax.security.auth.login.LoginException

java.lang.NoClassDefFoundError

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web29

  • via Oracle Community by 807573, 1 year ago
    java.lang.NoClassDefFoundError
  • java.lang.NoClassDefFoundError: com.ibm.wsspi.wssecurity.platform.token.KRBAuthnToken
  • java.lang.NoClassDefFoundError: com.ibm.wsspi.wssecurity.platform.token.KRBAuthnToken
  • Stack trace

    • javax.security.auth.login.LoginException: java.lang.NoClassDefFoundError at javax.crypto.Cipher.getInstance(DashoA12275) at com.sun.net.ssl.internal.ssl.JsseJce.getCipher(JsseJce.java:90) at com.sun.net.ssl.internal.ssl.RSACipher.<init>(RSACipher.java:35) at com.sun.net.ssl.internal.ssl.RSACipher.getInstance(RSACipher.java:69) at com.sun.net.ssl.internal.ssl.PreMasterSecret.<init>(PreMasterSecret.java:82) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:514) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:160) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:815) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:619) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at java.io.DataOutputStream.flush(DataOutputStream.java:106) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at java.rmi.Naming.lookup(Naming.java:84) at com.client.APIWrapper.<init>(APIWrapper.java:62) at com.client.ClientAPI.connectWithHA(ClientAPI.java:160) at com.client.ClientAPI.<init>(ClientAPI.java:421) at dsss.auth.DsssAuthModule.process(DsssAuthModule.java:71) at com.sun.identity.authentication.spi.AMLoginModule.wrapProcess(AMLoginModule.java:723) at com.sun.identity.authentication.spi.AMLoginModule.login(AMLoginModule.java:871) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:579) at com.sun.identity.authentication.service.AMLoginContext.runLogin(AMLoginContext.java:381) at com.sun.identity.authentication.service.JAASLoginThread.run(JAASLoginThread.java:62) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:872) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:579) at com.sun.identity.authentication.service.AMLoginContext.runLogin(AMLoginContext.java:381) at com.sun.identity.authentication.service.JAASLoginThread.run(JAASLoginThread.java:62)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.