You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this code to create .pkpass file. But when I deploy to Weblogic, PassSignerImpl.builder(). line gives this error :
Caused by: java.lang.NoSuchFieldError: data
at org.bouncycastle.cms.CMSSignedGenerator.(Unknown Source)
at com.ryantenney.passkit4j.sign.PassSignerImpl.createGenerator(PassSignerImpl.java:136)
at com.ryantenney.passkit4j.sign.PassSignerImpl.(PassSignerImpl.java:128)
at com.ryantenney.passkit4j.sign.PassSignerImpl$Builder.build(PassSignerImpl.java:122)
#7 it looks like the same problem but i checked all the lib files and there is no duplicate or older version of any org.bouncycastle jar files.
I am not even sure if i need to add below dependency to my pom.xml :
`KeyStore keystore = KeyStore.getInstance("PKCS12");
keystore.load(p12File, "test".toCharArray());
PassSigner signer = PassSignerImpl.builder().keystore(keystore, "1").intermediateCertificate(new FileInputStream("AppleWWDRCA.cer")).build();`
I am using this code to create .pkpass file. But when I deploy to Weblogic, PassSignerImpl.builder(). line gives this error :
#7 it looks like the same problem but i checked all the lib files and there is no duplicate or older version of any org.bouncycastle jar files.
I am not even sure if i need to add below dependency to my pom.xml :
<dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk16</artifactId> <version>1.46</version> </dependency>
The text was updated successfully, but these errors were encountered: