question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid signature file digest for Manifest main attributes

See original GitHub issue

I’m using Java SE Development Kit 8 Update 301 (64-bit) and a SingleUseMockAccumuloStore class implementation, as suggested by “TheBasics.java” example, and i get the following error: hadoop.util.NativeCodeLoader WARN - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes at java.base/sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:339) at java.base/sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:281) at java.base/java.util.jar.JarVerifier.processEntry(JarVerifier.java:321) at java.base/java.util.jar.JarVerifier.update(JarVerifier.java:234) at java.base/java.util.jar.JarFile.initializeVerifier(JarFile.java:763) at java.base/java.util.jar.JarFile.getInputStream(JarFile.java:846) at java.base/sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:167) at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.parse(ServiceLoader.java:1164) at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1205) at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1220) at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1264) at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1299) at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1383) at org.apache.hadoop.fs.FileSystem.loadFileSystems(FileSystem.java:2565) at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2576) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2593) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:91) at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2632) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2614) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:169) at org.apache.accumulo.core.client.mock.MockInstance.getDefaultFileSystem(MockInstance.java:75) at org.apache.accumulo.core.client.mock.MockInstance.<init>(MockInstance.java:82) at uk.gov.gchq.gaffer.accumulostore.MockAccumuloStore.preInitialise(MockAccumuloStore.java:63) at uk.gov.gchq.gaffer.accumulostore.SingleUseMockAccumuloStore.preInitialise(SingleUseMockAccumuloStore.java:45) at uk.gov.gchq.gaffer.accumulostore.AccumuloStore.initialise(AccumuloStore.java:159) at uk.gov.gchq.gaffer.store.Store.createStore(Store.java:262) at uk.gov.gchq.gaffer.graph.Graph$Builder.updateStore(Graph.java:1082) at uk.gov.gchq.gaffer.graph.Graph$Builder.build(Graph.java:970) at eu.pyodimille.sentiment.server.Test.run(Test.java:88) at eu.pyodimille.sentiment.server.Test.main(Test.java:33)

I tried to modify the pom.xml file to avoid this signature problem in jar files, but without success, please help.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
unclassified02commented, Sep 26, 2021

Ok, now it works. Thanks for your help, good coding and keep going!

1reaction
unclassified02commented, Sep 26, 2021

Now i’m using SingleUseMapStore class as recommended by @n3101

Read more comments on GitHub >

github_iconTop Results From Across the Web

java - Invalid signature file digest for Manifest main attributes ...
After build Artifacts, I get a result is a jar file. I rename it to .rar (or .zip) and open it as archive...
Read more >
Solving a Spark Invalid signature file digest for Manifest main ...
Invalid signature file digest for Manifest main attributes. The error occurs when one of the included libraries in the jar's META-INF directory has...
Read more >
java.lang.SecurityException: Invalid signature file digest for ...
SecurityException : Invalid signature file digest for Manifest main attributes ... the jar and the signature is messed up and throws a security...
Read more >
[jar] SecurityException: Invalid signature file digest for Manifest ...
When executing the . jar file (with the correct Java version, i.e., 15+), the following error appears. This comes from signatures of daughter...
Read more >
"Invalid signature file digest for Manifest main attributes" error ...
"Invalid signature file digest for Manifest main attributes" error when running "subgit install" on non-existing directory ... This bug didn't get into any...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found