Invalid signature file digest for Manifest main attributes
See original GitHub issueI’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:
- Created 2 years ago
- Comments:7 (1 by maintainers)
Top GitHub Comments
Ok, now it works. Thanks for your help, good coding and keep going!
Now i’m using SingleUseMapStore class as recommended by @n3101