title: how do I solve this error Exception in thread "main" java.lang.NoClassDefFoundError: javax/crypto/SecretKey
body: <p>How do I solve this error Exception in thread "main" java.lang.NoClassDefFoundError: javax/crypto/SecretKey </p>
  
  <pre><code>import com.gargoylesoftware.htmlunit.WebClient;
  import com.gargoylesoftware.htmlunit.html.HtmlForm;
  import com.gargoylesoftware.htmlunit.html.HtmlPage;
  import com.gargoylesoftware.htmlunit.html.HtmlSubmitInput;
  import com.gargoylesoftware.htmlunit.html.HtmlTextInput;
  import com.gargoylesoftware.htmlunit.BrowserVersion;
  import com.gargoylesoftware.htmlunit.Page;
  import com.gargoylesoftware.htmlunit.RefreshHandler;
  import java.io.IOException;
  import java.net.URL;
  
  public class veriçekmek {
  
      public static void main(String[] args) throws Exception {
  
          WebClient web=new WebClient();
          HtmlPage sayfa=web.getPage("http://www.idefix.com");
  </code></pre>
  
  <p>When I run this program I get an error like this</p>
  
  <pre><code> Exception in thread "main" java.lang.NoClassDefFoundError: javax/crypto/SecretKey
  </code></pre>