David86
13 years agoNew Contributor
java.lang.LinkageError
Hello,
I am trying to create a runner component that sends a Certificate request to CA service and gets Certificate Response back. Response is received successfully but when it tries to create a pkcs12 data from the response:
byte[] pkcs12Data = PKCS12Util.generatePKCS12(response, keyPair.getPrivate(), "somepassword".toCharArray());
Exception is thrown:
Exception when calling 'sample'
org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.LinkageError: javax/security/auth/x500/X500Prinicipal
Anybody can help to solve this?
thanks!!!
I am trying to create a runner component that sends a Certificate request to CA service and gets Certificate Response back. Response is received successfully but when it tries to create a pkcs12 data from the response:
byte[] pkcs12Data = PKCS12Util.generatePKCS12(response, keyPair.getPrivate(), "somepassword".toCharArray());
Exception is thrown:
Exception when calling 'sample'
org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.LinkageError: javax/security/auth/x500/X500Prinicipal
Anybody can help to solve this?
thanks!!!