title: java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurityManager
body: <pre><code>java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurityManager
      javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2543)
      javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2567)
      sun.security.ssl.CipherSuite$BulkCipher.isAvailable(CipherSuite.java:548)
      sun.security.ssl.CipherSuite$BulkCipher.isAvailable(CipherSuite.java:527)
      sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:194)
      sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLContextImpl.java:350)
      sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextImpl.java:308)
      sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:607)
      sun.security.ssl.SSLSocketImpl.&lt;init&gt;(SSLSocketImpl.java:549)
      sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:110)
      com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:428)
      com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1647)
      com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:534)
      javax.mail.Service.connect(Service.java:291)
      org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:389)
      org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340)
      org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:355)
      org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344)
      net.codejava.spring.SendEmailAttachController.sendEmail(SendEmailAttachController.java:41)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke(Method.java:483)
      org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:440)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:428)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
      org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
      org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  </code></pre>