title: Getting Exception: java.lang.SecurityException: attempted to open sandboxed jar as Trusted-Only
body: <p>We need to sign all 5 <code>.class</code> java files. That we have done by creating a <code>.jar</code> file and signed it too. But while executing my web application it is showing below error message in Java Console </p>
  
  <pre><code>java.lang.SecurityException: attempted to open sandboxed jar https://xxxxxxxxxxx.com/xxxx/JavaApplet.jar as Trusted-Only
  at com.sun.deploy.security.CPCallbackHandler$ParentElement.checkResource(Unknown Source)
  at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
  at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
  at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
  at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
  at java.security.AccessController.doPrivileged(Native Method)
  at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
  at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
  at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
  at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
  at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
  at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
  at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
  at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
  at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)
  Exception: java.lang.SecurityException: attempted to open sandboxed jar https://xxxxxxxxxxx.com/xxxx/JavaApplet.jar as Trusted-Only*
  </code></pre>
  
  <p>I am not sure about this error. I have signed Jar 3-4 times after getting this error but I am getting same error again again. </p>
  
  <p>Please can anybody help me if I am doing something wrong?</p>