小程序
小游戏
企业微信
微信支付
扫描小程序码分享
就是jsapi下单接口本地可以跑返回参数,但是部署到服务器报错,只是到了服务器 他出不来。
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
报错信息什么?
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
"{\"@type\":\"java.lang.Exception\",\"cause\":{\"@type\":\"java.lang.IllegalArgumentException\",\"cause\":{\"@type\":\"java.security.InvalidKeyException\",\"localizedMessage\":\"Illegal key size\",\"message\":\"Illegal key size\",\"stackTrace\":[{\"className\":\"javax.crypto.Cipher\",\"fileName\":\"Cipher.java\",\"lineNumber\":1039,\"methodName\":\"checkCryptoPerm\",\"nativeMethod\":false},{\"className\":\"javax.crypto.Cipher\",\"fileName\":\"Cipher.java\",\"lineNumber\":805,\"methodName\":\"implInit\",\"nativeMethod\":false},{\"className\":\"javax.crypto.Cipher\",\"fileName\":\"Cipher.java\",\"lineNumber\":864,\"methodName\":\"chooseProvider\",\"nativeMethod\":false},{\"className\":\"javax.crypto.Cipher\",\"fileName\":\"Cipher.java\",\"lineNumber\":1396,\"methodName\":\"init\",\"nativeMethod\":false},{\"className\":\"javax.crypto.Cipher\",\"fileName\":\"Cipher.java\",\"lineNumber\":1327,\"methodName\":\"init\",\"nativeMethod\":false},{\"className\":\"com.wechat.pay.contrib.apache.httpclient.util.AesUtil\",\"fileName\":\"AesUtil.java\",\"lineNumber\":40,\"methodName\":\"decryptToString\",\"nativeMethod\":false},{\"className\":\"com.wechat.pay.contrib.apache.httpclient.util.CertSerializeUtil\",\"fileName\":\"CertSerializeUtil.java\",\"lineNumber\":42,\"methodName\":\"deserializeToCerts\",\"nativeMethod\":false},{\"className\":\"com.wechat.pay.contrib.apache.httpclient.cert.CertificatesManager\",\"fileName\":\"CertificatesManager.java\",\"lineNumber\":280,\"methodName\":\"downloadAndUpdateCert\",\"nativeMethod\":false},{\"className\":\"com.wechat.pay.contrib.apache.httpclient.cert.CertificatesManager\",\"fileName\":\"CertificatesManager.java\",\"lineNumber\":308,\"methodName\":\"initCertificates\",\"nativeMethod\":false},{\"className\":\"com.wechat.pay.contrib.apache.httpclient.cert.CertificatesManager\",\"fileName\":\"CertificatesManager.java\",\"lineNumber\":155,\"methodName\":\"putMerchant\",\"nativeMethod\":false},{\"className\":\"com.jd.after.common.utils.WxPayUtils\",\"fileName\":\"WxPayUtils.java\",\"lineNum
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
报错信息什么?
"{\"@type\":\"java.lang.Exception\",\"cause\":{\"@type\":\"java.lang.IllegalArgumentException\",\"cause\":{\"@type\":\"java.security.InvalidKeyException\",\"localizedMessage\":\"Illegal key size\",\"message\":\"Illegal key size\",\"stackTrace\":[{\"className\":\"javax.crypto.Cipher\",\"fileName\":\"Cipher.java\",\"lineNumber\":1039,\"methodName\":\"checkCryptoPerm\",\"nativeMethod\":false},{\"className\":\"javax.crypto.Cipher\",\"fileName\":\"Cipher.java\",\"lineNumber\":805,\"methodName\":\"implInit\",\"nativeMethod\":false},{\"className\":\"javax.crypto.Cipher\",\"fileName\":\"Cipher.java\",\"lineNumber\":864,\"methodName\":\"chooseProvider\",\"nativeMethod\":false},{\"className\":\"javax.crypto.Cipher\",\"fileName\":\"Cipher.java\",\"lineNumber\":1396,\"methodName\":\"init\",\"nativeMethod\":false},{\"className\":\"javax.crypto.Cipher\",\"fileName\":\"Cipher.java\",\"lineNumber\":1327,\"methodName\":\"init\",\"nativeMethod\":false},{\"className\":\"com.wechat.pay.contrib.apache.httpclient.util.AesUtil\",\"fileName\":\"AesUtil.java\",\"lineNumber\":40,\"methodName\":\"decryptToString\",\"nativeMethod\":false},{\"className\":\"com.wechat.pay.contrib.apache.httpclient.util.CertSerializeUtil\",\"fileName\":\"CertSerializeUtil.java\",\"lineNumber\":42,\"methodName\":\"deserializeToCerts\",\"nativeMethod\":false},{\"className\":\"com.wechat.pay.contrib.apache.httpclient.cert.CertificatesManager\",\"fileName\":\"CertificatesManager.java\",\"lineNumber\":280,\"methodName\":\"downloadAndUpdateCert\",\"nativeMethod\":false},{\"className\":\"com.wechat.pay.contrib.apache.httpclient.cert.CertificatesManager\",\"fileName\":\"CertificatesManager.java\",\"lineNumber\":308,\"methodName\":\"initCertificates\",\"nativeMethod\":false},{\"className\":\"com.wechat.pay.contrib.apache.httpclient.cert.CertificatesManager\",\"fileName\":\"CertificatesManager.java\",\"lineNumber\":155,\"methodName\":\"putMerchant\",\"nativeMethod\":false},{\"className\":\"com.jd.after.common.utils.WxPayUtils\",\"fileName\":\"WxPayUtils.java\",\"lineNum