java.lang.NoClassDefFoundError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Register IMAP handler with some mail providers may throw "NoSuchPaddingException" {code} DEBUG: trying to connect to host "kkl1sexc01", port 143, isSSL false OK The Microsoft Exchange IMAP4 service is ready. A0 CAPABILITY CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI LOGINDISABLED STARTTLS UIDPLUS CHILDREN IDLE NAMESPACE LITERAL+ A0 OK CAPABILITY completed. DEBUG IMAP: AUTH: NTLM DEBUG IMAP: AUTH: GSSAPI DEBUG: protocolConnect login, host=kkl1sexc01, user=support.it@kkl-luzern.ch, password=<non-null> 2014-12-15 15:00:15,501 http-bio-8080-exec-1 ERROR ext-niko 900x1522x1 14ydfe7 10.0.13.251,10.0.141.35 /rest/servicedesk/1/servicedesk/SUP/incomingemail/validateemailforcreation [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: javax/crypto/NoSuchPaddingException java.lang.NoClassDefFoundError: javax/crypto/NoSuchPaddingException at com.sun.mail.imap.protocol.IMAPProtocol.authntlm(IMAPProtocol.java:618) at com.sun.mail.imap.IMAPStore.login(IMAPStore.java:726) at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:648) at javax.mail.Service.connect(Service.java:295) at com.atlassian.servicedesk.squalor.email.MailServerVerifier.verifyMailServer(MailServerVerifier.java:38) at com.atlassian.servicedesk.internal.email.SDMailServerManagerImpl.verifyIncomingMailServerConnection(SDMailServerManagerImpl.java:136) {code} *Temporary Workaround*: Based from customer, using Secure POP rather than IMAP able to make JIRA Service Desk Mail Handler working properly.
    via by Phuong Doan,
  • Register IMAP handler with some mail providers may throw "NoSuchPaddingException" {code} DEBUG: trying to connect to host "kkl1sexc01", port 143, isSSL false OK The Microsoft Exchange IMAP4 service is ready. A0 CAPABILITY CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI LOGINDISABLED STARTTLS UIDPLUS CHILDREN IDLE NAMESPACE LITERAL+ A0 OK CAPABILITY completed. DEBUG IMAP: AUTH: NTLM DEBUG IMAP: AUTH: GSSAPI DEBUG: protocolConnect login, host=kkl1sexc01, user=support.it@kkl-luzern.ch, password=<non-null> 2014-12-15 15:00:15,501 http-bio-8080-exec-1 ERROR ext-niko 900x1522x1 14ydfe7 10.0.13.251,10.0.141.35 /rest/servicedesk/1/servicedesk/SUP/incomingemail/validateemailforcreation [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: javax/crypto/NoSuchPaddingException java.lang.NoClassDefFoundError: javax/crypto/NoSuchPaddingException at com.sun.mail.imap.protocol.IMAPProtocol.authntlm(IMAPProtocol.java:618) at com.sun.mail.imap.IMAPStore.login(IMAPStore.java:726) at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:648) at javax.mail.Service.connect(Service.java:295) at com.atlassian.servicedesk.squalor.email.MailServerVerifier.verifyMailServer(MailServerVerifier.java:38) at com.atlassian.servicedesk.internal.email.SDMailServerManagerImpl.verifyIncomingMailServerConnection(SDMailServerManagerImpl.java:136) {code} *Temporary Workaround*: Based from customer, using Secure POP rather than IMAP able to make JIRA Service Desk Mail Handler working properly.
    via by Phuong Doan,
  • Javamail IMAP OAUTH2/SASL Exception
    via Stack Overflow by Phillip Stanley
    ,
    • java.lang.NoClassDefFoundError: javax/crypto/NoSuchPaddingException at com.sun.mail.imap.protocol.IMAPProtocol.authntlm(IMAPProtocol.java:618) at com.sun.mail.imap.IMAPStore.login(IMAPStore.java:726) at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:648) at javax.mail.Service.connect(Service.java:295) at com.atlassian.servicedesk.squalor.email.MailServerVerifier.verifyMailServer(MailServerVerifier.java:38) at com.atlassian.servicedesk.internal.email.SDMailServerManagerImpl.verifyIncomingMailServerConnection(SDMailServerManagerImpl.java:136)
    No Bugmate found.