title: IntelliJ IDEA - JAR Manifest.MF incomplete, JAR with eclipse working
body: <p>I am trying to create a runnable JAR File with IntelliJ.
  I followed this tutorial: <a href="https://blog.jetbrains.com/idea/2010/08/quickly-create-jar-artifact/" rel="nofollow noreferrer">Quickly create Jar artifact for application</a>
  I have a lot of 3rd party libraries included.</p>
  
  <p>Unfortunatelly I got the following error:</p>
  
  <pre><code>Error: A JNI error has occurred, please check your installation and try again
  Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
  </code></pre>
  
  <p>I created a JAR from the same project with Eclipse and everything was the same except the META-INF/MANIFEST.MF.</p>
  
  <p>MANIFEST.MF in IntelliJ JAR:</p>
  
  <pre><code>Manifest-Version: 1.0
  Class-Path: .
  Main-Class: com.continental.ref.REFController
  </code></pre>
  
  <p>MANIFEST.MF in Eclipse JAR:</p>
  
  <pre><code>Manifest-Version: 1.0
  Class-Path: .
  Main-Class: com.continental.ref.REFController
  
  Name: org/apache/commons/collections/map/AbstractLinkedMap$LinkMapIter
   ator.class
  SHA1-Digest: +GMX4XDNU3rbmKNHyTmYDlZT44Q=
  
  Name: org/apache/commons/beanutils/converters/SqlTimeConverter.class
  SHA1-Digest: kKXUmTycgy5F07EuojB2tsz9424=
  
  Name: org/apache/commons/collections/bidimap/TreeBidiMap$Node.class
  SHA1-Digest: g1+1ao8G8CPfvRmMi61ThauUVGU=
  
  Name: org/apache/commons/collections/comparators/TransformingComparato
   r.class
  SHA1-Digest: bd4hdiKvX/OSymUta0Tv5ucbwDQ=
  ...
  </code></pre>
  
  <p>I really do not have any IDEA how to force IntelliJ to calculate hashes of the libraries.</p>
  
  <p>Thanks in advance for the help!</p>