0

Error java.lang.SecurityException: class "org.bouncycastle.cms.CMSProcessable"'s signer information does not match signer information of other classes in the same package

my Lib file

It is working fine using eclipse but it now working after deployment on linux machine.

Fawwad Ahmed
  • 234
  • 1
  • 4
  • 12
  • Did you check, that your deployed product doesn't have the wrong libs included? It sounds like a classpath problem. – Sascha Jun 09 '21 at 13:38
  • Yes I have checked it. The configuration is ok. – Fawwad Ahmed Jun 10 '21 at 05:47
  • Then it could be that Eclipse loads the jars in a different order than Tomcat does on itself: https://stackoverflow.com/q/2877262/2135838 Also it seems the problem comes up now and then: https://stackoverflow.com/q/56146240/2135838 – Sascha Jun 10 '21 at 06:46
  • It is working fine on eclipse but when i deploy the application on ubuntu server machine it occur the error – Fawwad Ahmed Jun 10 '21 at 09:01
  • Did you try to deploy the WAR file to your local tomcat as you would do on your Ubuntu server? – Sascha Jun 10 '21 at 12:55
  • I have download zip file from the link https://tomcat.apache.org/download-90.cgi – Fawwad Ahmed Jun 11 '21 at 05:12
  • @Sascha It was occurring in ubuntu version 18. It is working fine in ubuntu version 20 – Fawwad Ahmed Jun 25 '21 at 07:37
  • That sounds like it was a problem of the combination Ubuntu 18, OpenJDK 11 and Tomcat. – Sascha Jun 25 '21 at 13:56

0 Answers0