Wednesday, 29 October 2014

Java SecurityException : signer information does not match



Java SecurityException : signer information does not match



Cause :
It is happening due to loading of same jar  with multiple versions .

Example :
 In one of my case I faced the same issue.  I have "httpclient-4.1.2.jar" and "httpclient-4.0.jar" jars in my lib folder . Due to this , while loading the jar files , http client is verifying the signature signed by apache. It is getting error due to different certificates from two jar files.


Solution:
 Just remove the one of the jar , in my case I removed old version jar.

No comments:

Post a Comment

Please comment here