链接支付宝查询出错

在去支付宝查询用户数据的时候报错:

java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
 at com.koubei.kac.alipaytaobaocooperate.BasicWebServiceApply.getMapResult(BasicWebServiceApply.java:93)
 at com.koubei.my.kmanage.MyCardAction.doDefault(MyCardAction.java:169)
 at com.koubei.my.kmanage.BasicAction.execute(BasicAction.java:82)
 at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)
 at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192)
 at com.koubei.framework.interceptor.ExceptionInterceptor.intercept(ExceptionInterceptor.java:46)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.koubei.common.user.interceptor.SecureAuthInterceptor$1.invoke(SecureAuthInterceptor.java:65)
 at com.koubei.user.control.LoginFlowControl.execute(LoginFlowControl.java:24)
 at com.koubei.common.user.interceptor.SecureAuthInterceptor.intercept(SecureAuthInterceptor.java:57)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.opensymphony.webwork.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:169)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:186)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
 at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
 at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:274)
 at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1305)
 at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:677)
 at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1315)
 at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1282)
 at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:283)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1192)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1089)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1002)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
 at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
 at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
 at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
 at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
 at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
 at com.koubei.kac.alipaytaobaocooperate.BasicWebServiceApply.getMapResult(BasicWebServiceApply.java:61)
 ... 53 more
解决方案:

   debug工程,发现

http://aliapi.alipay.net/gateway.do?网关错了

 应该为http://aliapi.6e.alipay.net/gateway.do?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值