title: Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
body: <pre><code>Exception in thread "main" java.lang.SecurityException: Invalid signature file d                    igest for Manifest main attributes
          at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVeri                    fier.java:240)
          at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier                    .java:193)
          at java.util.jar.JarVerifier.processEntry(JarVerifier.java:262)
          at java.util.jar.JarVerifier.update(JarVerifier.java:216)
          at java.util.jar.JarFile.initializeVerifier(JarFile.java:341)
          at java.util.jar.JarFile.getInputStream(JarFile.java:406)
          at sun.misc.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:75                    2)
          at sun.misc.Resource.cachedInputStream(Resource.java:77)
          at sun.misc.Resource.getByteBuffer(Resource.java:160)
          at java.net.URLClassLoader.defineClass(URLClassLoader.java:436)
          at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
          at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
          at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
          at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:480)
  </code></pre>
  
  <p>Hi i am getting this error and i was wondering if anybody could tell me what was causing this.This is the snapshot of pox file of my project. Any help would be appreciated.</p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;3.8.1&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.jcraft&lt;/groupId&gt;
          &lt;artifactId&gt;jsch&lt;/artifactId&gt;
          &lt;version&gt;0.1.50&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;mysql&lt;/groupId&gt;
          &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
          &lt;version&gt;5.1.29&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.postgresql&lt;/groupId&gt;
          &lt;artifactId&gt;postgresql&lt;/artifactId&gt;
          &lt;version&gt;9.3-1101-jdbc41&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.objectweb.joram&lt;/groupId&gt;
          &lt;artifactId&gt;jftp&lt;/artifactId&gt;
          &lt;version&gt;1.52&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-shade-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.2&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;phase&gt;package&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;shade&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;artifactSet&gt;
                              &lt;excludes&gt;
                                  &lt;exclude&gt;junit:junit&lt;/exclude&gt;
                                  &lt;exclude&gt;org.apache.maven:lib:tests&lt;/exclude&gt;
                              &lt;/excludes&gt;
                          &lt;/artifactSet&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>