请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

mac check in GCM failed

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [cn.felord.payment.wechat.v3.WechatMetaContainer]: Factory method ‘wechatMetaContainer’ threw exception; nested exception is cn.felord.payment.PayException: Cannot load keys from store: class path resource [apiclient_cert.p12]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
… 19 common frames omitted
Caused by: cn.felord.payment.PayException: Cannot load keys from store: class path resource [apiclient_cert.p12]
at cn.felord.payment.wechat.v3.KeyPairFactory.initWechatMetaBean(KeyPairFactory.java:70)
at cn.felord.payment.wechat.WechatPayConfiguration.lambda$wechatMetaContainer0(WechatPayConfiguration.java:63)atjava.base/java.util.HashMap0(WechatPayConfiguration.java:63) at java.base/java.util.HashMap0(WechatPayConfiguration.java:63)atjava.base/java.util.HashMapKeySet.forEach(HashMap.java:1010)
at cn.felord.payment.wechat.WechatPayConfiguration.wechatMetaContainer(WechatPayConfiguration.java:59)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
… 20 common frames omitted
Caused by: java.security.cert.CertificateExpiredException: NotAfter: Tue Feb 27 16:02:00 CST 2024
at java.base/sun.security.x509.CertificateValidity.valid(CertificateValidity.java:277)
at java.base/sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:665)
at java.base/sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:638)
at cn.felord.payment.wechat.v3.KeyPairFactory.initWechatMetaBean(KeyPairFactory.java:61)
… 28 common frames omitted

进程已结束,退出代码1

正在回答 回答被采纳积分+3

2回答

神思者 2024-02-29 12:34:44

检查你的数字证书文件为什么没找到

0 回复 有任何疑惑可以回复我~
提问者 wfdayduagj 2024-02-28 21:04:47

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wechatMetaContainer' defined in class path resource [cn/felord/payment/wechat/WechatPayConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [cn.felord.payment.wechat.v3.WechatMetaContainer]: Factory method 'wechatMetaContainer' threw exception; nested exception is cn.felord.payment.PayException: Cannot load keys from store: class path resource [apiclient_cert.p12]

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信