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