小程序微信支付后的支付回调验证签名失败?
我的小程序引用了sdk 0.4.8版本,先调用了微信支付接口,然后在支付回调验证签名时报错如下: com.wechat.pay.contrib.apache.httpclient.exception.ValidationException: 验签失败: 6 ] sign=[Tfl3thqrvJ2/iw5+TA49U4E2yMkkAgWEwHlSy4OO384NtCuDC8Bc3fTCKyaI251JY1nuZ120H1EI88qQ/FQNprjZvQuBFCIn1xZ4LPi0sjkHf9vDfFqnKciSFfs1/niWSIt7o4hGp5zEdVfmQMlO5obom1y0quQS+gu4P5Yf9vPg58+dBBRIC693fLLW4Q+FlxuN902hGUv6zixwNRrwYZl5njsum4cwyvsA91aCo513CRzMj+PMvZjGAKPE6METwtivkGDZMLuFK/r/BanPotNc6TitmXFCac0GhxHUmDwhw3KSgeHNvj6YpFbUDAr1MgwAmKxHTVk9OTMIxAQ8fw==] 7 at com.wechat.pay.contrib.apache.httpclient.notification.NotificationHandler.validate(NotificationHandler.java:70) 8 at com.wechat.pay.contrib.apache.httpclient.notification.NotificationHandler.parse(NotificationHandler.java:46) 9 at cn.tongdun.groupon.portal.web.controller.weixin.WeixinCallBackController.pay(WeixinCallBackController.java:114) 10 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 11 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 12 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 13 at java.lang.reflect.Method.invoke(Method.java:498) 14 at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209) 15 at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136) 16 at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) 17 at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:870) 18 at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:776) 19 at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) 20 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991) 21 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) 22 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:978) 23 at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:881) 24 at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) 25 at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:855) 26 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 27 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) 28 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 29 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 30 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 31 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 32 at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) 33 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 34 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 35 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 36 at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) 37 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 38 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 39 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 40 at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) 41 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 42 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 43 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 44 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) 45 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 46 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 47 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 48 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) 49 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) 50 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496) 51 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) 52 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) 53 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) 54 at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) 55 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) 56 at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) 57 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) 58 at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) 59 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) 60 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) 61 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 62 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 63 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 64 at java.lang.Thread.run(Thread.java:750)