java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

Sonatype JIRA | Josef Kokeš | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Hi, org.knowm.xchange, artifactid: xchange-parent, file:pom.xml ver 4.0.0 date 12-Apr-2016 used in NetBeans 8.0.2, JavaFX Application project these artifacts xchange-examples xchange-coinfloor cause the following error: --- exec-maven-plugin:1.2.1:exec (default-cli) @ ArielTrader ---java.lang.SecurityException: Invalid signature file digest for Manifest main attributes at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:284) at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:238) at java.util.jar.JarVerifier.processEntry(JarVerifier.java:273) at java.util.jar.JarVerifier.update(JarVerifier.java:228) at java.util.jar.JarFile.initializeVerifier(JarFile.java:383) at java.util.jar.JarFile.getInputStream(JarFile.java:450) at sun.misc.JarIndex.getJarIndex(JarIndex.java:137) at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:839) at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:831) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:830) at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:803) at sun.misc.URLClassPath$3.run(URLClassPath.java:530) at sun.misc.URLClassPath$3.run(URLClassPath.java:520) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(URLClassPath.java:519) at sun.misc.URLClassPath.getLoader(URLClassPath.java:492) at sun.misc.URLClassPath.getNextLoader(URLClassPath.java:457) at sun.misc.URLClassPath.getResource(URLClassPath.java:211) at java.net.URLClassLoader$1.run(URLClassLoader.java:365) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)Error: A JNI error has occurred, please check your installation and try againException in thread "main" [INFO] NETBEANS-ExecEvent:{"exc":{"msg":"Q29tbWFuZCBleGVjdXRpb24gZmFpbGVkLg=="},"mojo":{"impl":"org.codehaus.mojo.exec.ExecMojo","urls":["file:\/C:\/Users\/Kokes\/.m2\/repository\/org\/codehaus\/mojo\/exec-maven-plugin\/1.2.1\/exec-maven-plugin-1.2.1.jar","file:\/C:\/Users\/Kokes\/.m2\/repository\/org\/apache\/maven\/reporting\/maven-reporting-api\/2.0.6\/maven-reporting-api-2.0.6.jar","file:\/C:\/Users\/Kokes\/.m2\/repository\/org\/apache\/maven\/doxia\/doxia-sink-api\/1.0-alpha-7\/doxia-sink-api-1.0-alpha-7.jar","file:\/C:\/Users\/Kokes\/.m2\/repository\/commons-cli\/commons-cli\/1.0\/commons-cli-1.0.jar","file:\/C:\/Users\/Kokes\/.m2\/repository\/org\/codehaus\/plexus\/plexus-interactivity-api\/1.0-alpha-4\/plexus-interactivity-api-1.0-alpha-4.jar","file:\/C:\/Users\/Kokes\/.m2\/repository\/org\/codehaus\/plexus\/plexus-utils\/2.0.5\/plexus-utils-2.0.5.jar","file:\/C:\/Users\/Kokes\/.m2\/repository\/org\/apache\/commons\/commons-exec\/1.1\/commons-exec-1.1.jar"],"goal":"exec","id":"org.codehaus.mojo:exec-maven-plugin:1.2.1","source":"CLI","execId":"default-cli"},"type":"MojoFailed"}------------------------------------------------------------------------BUILD FAILURE------------------------------------------------------------------------Total time: 41.194sFinished at: Sun Apr 17 10:24:12 CEST 2016Final Memory: 24M/363M------------------------------------------------------------------------Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project ArielTrader: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]To see the full stack trace of the errors, re-run Maven with the -e switch.Re-run Maven using the -X switch to enable full debug logging.For more information about the errors and possible solutions, please read the following articles:[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Attempts like http://www.google.cz/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0ahUKEwj-jPqzoJXMAhVEFywKHV3VAP8QFggkMAE&url=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F25842559%2Fvalid-jar-signature-for-javafx-projects&usg=AFQjCNGp3VwHb44lwdl8G79lh3wSbHJ4sw&bvm=bv.119745492,d.bGg http://www.google.cz/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0ahUKEwj-jPqzoJXMAhVEFywKHV3VAP8QFggtMAI&url=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F28177873%2Finvalid-signature-file-digest-for-manifest-main-attributes-failed-to-execute-go&usg=AFQjCNH4PR3USZwk60lgW1COV8qqaeNzKg&bvm=bv.119745492,d.bGg etc. did not help. Thanks, koki

    Sonatype JIRA | 1 year ago | Josef Kokeš
    java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
  2. 0

    Custom pack won't launch

    GitHub | 3 years ago | bloop428
    java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
  3. 0

    What can cause a 'Could not find the main class' when packaging a jar?

    Stack Overflow | 5 years ago | Philippe
    java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue while deploying DB2 jars on project on jdk 1.5

    Stack Overflow | 3 years ago | preeti arora
    java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
  6. 0

    I get an error starting Wowza 4.0.3 java.lan.SecurityException

    Stack Overflow | 3 years ago | mattwallace
    java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

  1. Nikolay Rybak 4 times, last 6 months ago
  2. bpbhat77 10 times, last 8 months ago
  3. poroszd 3 times, last 8 months ago
74 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.SecurityException

    Invalid signature file digest for Manifest main attributes

    at sun.security.util.SignatureFileVerifier.processImpl()
  2. Java RT
    ClassLoader.loadClass
    1. sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:284)
    2. sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:238)
    3. java.util.jar.JarVerifier.processEntry(JarVerifier.java:273)
    4. java.util.jar.JarVerifier.update(JarVerifier.java:228)
    5. java.util.jar.JarFile.initializeVerifier(JarFile.java:383)
    6. java.util.jar.JarFile.getInputStream(JarFile.java:450)
    7. sun.misc.JarIndex.getJarIndex(JarIndex.java:137)
    8. sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:839)
    9. sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:831)
    10. java.security.AccessController.doPrivileged(Native Method)
    11. sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:830)
    12. sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:803)
    13. sun.misc.URLClassPath$3.run(URLClassPath.java:530)
    14. sun.misc.URLClassPath$3.run(URLClassPath.java:520)
    15. java.security.AccessController.doPrivileged(Native Method)
    16. sun.misc.URLClassPath.getLoader(URLClassPath.java:519)
    17. sun.misc.URLClassPath.getLoader(URLClassPath.java:492)
    18. sun.misc.URLClassPath.getNextLoader(URLClassPath.java:457)
    19. sun.misc.URLClassPath.getResource(URLClassPath.java:211)
    20. java.net.URLClassLoader$1.run(URLClassLoader.java:365)
    21. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    22. java.security.AccessController.doPrivileged(Native Method)
    23. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    24. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    25. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    26. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    26 frames