apple / app-store-server-library-java

MIT License
171 stars 38 forks source link

Handler dispatch failed: java.lang.NoSuchMethodError: 'boolean org.bouncycastle.asn1.ASN1Integer.hasValue(int)' #129

Open linkaiqq opened 1 week ago

linkaiqq commented 1 week ago

AppStoreServerAPIClient client = new AppStoreServerAPIClient(encodedKey, keyId, issuerId, bundleId, Environment.PRODUCTION); ReceiptUtility receiptUtil = new ReceiptUtility(); String transactionId = receiptUtil.extractTransactionIdFromAppReceipt(appReceipt);

linkaiqq commented 1 week ago

The appReceipt verification has been consistently abnormal, using JDK17

alexanderjordanbaker commented 1 week ago

Please make sure you do not have a conflicting version of bouncy castle on your class path