SignatureProvider启动报错 ,麻烦老师帮忙看下是什么问题

来源:1-7 运行初始化项目

weibo_北桥_03164202

2023-08-19

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘signatureProvider’ 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.SignatureProvider]: Factory method ‘signatureProvider’ threw exception; nested exception is cn.felord.payment.PayException: javax.crypto.AEADBadTagException: mac check in GCM failed

如果微信支付依赖注释掉是可以运行的,配置文件也按要求改写了
图片描述

写回答

1回答

神思者

2023-08-20

你再核对一下微信支付资质,感觉像是没写对

1
4
weixin_慕九州7143683
回复
weibo_北桥_03164202
谢谢,我用git包里的企业微信id也不行,我是用的你说的后面那个方法解决了。
2023-10-08
共4条回复

SpringBoot2.X + Vue + UniAPP,全栈开发医疗小程序

毕设/求职可用的新潮优秀案例(Web管理端+小程序用户端)

692 学习 · 477 问题

查看课程