0 votes
1 view
in Java by (3.9k points)

My java program is packaged in a jar file and makes use of an external jar library, bouncy castle. My code compiles fine, but running the jar leads to the following error:

Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

I've googled for over an hour searching for an explanation and found very little of value. If anyone has seen this error before and could offer some help, I would be obliged.

1 Answer

0 votes
by (46.1k points)

Here’s a detailed solution that might provide a pointer:

java.lang.SecurityException

Conclusion:

It's presumably fit to keep the official jar as is and just append it as a dependency in the manifest file for our application jar file.

Related questions

0 votes
1 answer
asked Jul 11, 2019 in Java by Ritik (3.5k points)
0 votes
1 answer
asked Oct 17, 2019 in Java by Shubham (3.9k points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...