sagepay java配置在单击Form Kit链接

时间:2015-07-31 16:49:30

标签: sagepay

显示java.lang.NullPointerException     at com.sagepay.sdk.api.util.CryptographyHelper.AES(CryptographyHelper.java:41)     at com.sagepay.sdk.api.util.CryptographyHelper.AESEncrypt(CryptographyHelper.java:63)     在com.sagepay.sdk.demo.FormKitHandler.isEncryptionPasswordOk(FormKitHandler.java:143)     在com.sagepay.sdk.demo.FormKitHandler.welcome(FormKitHandler.java:130)     在com.sagepay.sdk.demo.FormKitHandler.dispatch(FormKitHandler.java:80)     在com.sagepay.sdk.demo.FormKitServlet.dispatch(FormKitServlet.java:19)     at com.sagepay.sdk.demo.AbstractKitServlet.dispatch(AbstractKitServlet.java:78)     在com.sagepay.sdk.demo.AbstractKitServlet.doGet(AbstractKitServlet.java:62)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:624)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:731)     在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)     在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)     在org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)     在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)     在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)     在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)     在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)     在org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)     在org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)     在org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)     在org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)     在org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)     在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)     在org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)     at org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process(AbstractProtocol.java:620)     在org.apache.tomcat.util.net.AprEndpoint $ SocketProcessor.doRun(AprEndpoint.java:2516)     在org.apache.tomcat.util.net.AprEndpoint $ SocketProcessor.run(AprEndpoint.java:2505)     在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)     at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:615)     at org.apache.tomcat.util.threads.TaskThread $ WrappingRunnable.run(TaskThread.java:61)     在java.lang.Thread.run(Thread.java:722)

1 个答案:

答案 0 :(得分:0)

对于后期更新感到抱歉,但我通过添加.jar文件等依赖项来解决这个问题 -

sagepay-util-nodep-1.4.0.1
sagepay-api-1.2.2.0