Open wwwAiru opened 2 years ago
I have verified that running the jar built with mvn package -Pproduction
runs on my computer.
Please check that you're using the same version of Java on your CLI and IntelliJ. See this comment as well https://github.com/web-push-libs/webpush-java/issues/100#issuecomment-923233328
Java versions are the same. I got that the problem is with the Bouncy castle provider broken signature. How can exclude bouncycastle provider from fat jar and reference it from outside?
I do not know why, but there is no such exception with jdk 13
Then I run it from fat jar getting Exception in thread "main" java.security.InvalidKeyException: Not an EC key: ECDH. Then i run it from IntelliJ IDEA - the web push works well