设为首页收藏本站

JEECG官方网站-企业级JAVA快速开发平台

 找回密码
 立即注册

关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 最新动态 - 技术支持 - 师徒架构班

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务 QQ: 3102411850、418799587 商务热线: 18611788525 客服电话: 010-64808099 官方邮箱: jeecgos@163.com

查看: 233|回复: 0

[JEEWX3.0] jdk1.6 + jeewx-api-1.2.0获取用户信息报错

[复制链接]

7

主题

0

好友

68

积分

注册会员

Rank: 3Rank: 3

发表于 2019-1-7 20:27:08 |显示全部楼层
2019-01-07 20:12:44 [ERROR] {org.jeewx.api.core.util.HttpRequestProxy} (网络故障)
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1611)
        at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
        at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1035)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124)
        at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
        at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1112)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1139)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:896)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
        at org.jeewx.api.core.util.HttpRequestProxy.doHttpGetConnection(HttpRequestProxy.java:105)
        at org.jeewx.api.core.util.HttpRequestProxy.doGet(HttpRequestProxy.java:58)
        at org.jeewx.api.core.handler.impl.WeixinReqDefaultHandler.doRequest(WeixinReqDefaultHandler.java:39)
        at org.jeewx.api.core.req.WeiXinReqService.doWeinxinReq(WeiXinReqService.java:73)
        at org.jeewx.api.core.req.WeiXinReqService.doWeinxinReqJson(WeiXinReqService.java:85)
        at org.jeewx.api.wxbase.wxtoken.JwTokenAPI.getAccessToken(JwTokenAPI.java:31)
        at com.tjsoft.auction.util.WeixinUtil.getAccessToken(WeixinUtil.java:24)
        at com.tjsoft.auction.controller.WeixinServerController.getWxuserInfo(WeixinServerController.java:104)
        at com.tjsoft.auction.controller.WeixinServerController.processMsg(WeixinServerController.java:84)
        at com.tjsoft.auction.controller.WeixinServerController.index(WeixinServerController.java:33)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.jfinal.aop.Invocation.invoke(Invocation.java:71)
        at com.jfinal.plugin.activerecord.tx.TxByRegex$1.run(TxByRegex.java:58)
        at com.jfinal.plugin.activerecord.DbPro.tx(DbPro.java:668)
        at com.jfinal.plugin.activerecord.DbPro.tx(DbPro.java:704)
        at com.jfinal.plugin.activerecord.tx.TxByRegex.intercept(TxByRegex.java:56)
        at com.jfinal.aop.Invocation.invoke(Invocation.java:65)
        at com.system.interceptor.AuthenticationInterceptor.intercept(AuthenticationInterceptor.java:63)
        at com.jfinal.aop.Invocation.invoke(Invocation.java:65)
        at com.system.interceptor.ExceptionAndLogInterceptor.intercept(ExceptionAndLogInterceptor.java:32)
        at com.jfinal.aop.Invocation.invoke(Invocation.java:65)
        at com.jfinal.ext.interceptor.SessionInViewInterceptor.intercept(SessionInViewInterceptor.java:44)
        at com.jfinal.aop.Invocation.invoke(Invocation.java:65)
        at com.system.interceptor.ParamInterceptor.intercept(ParamInterceptor.java:41)
        at com.jfinal.aop.Invocation.invoke(Invocation.java:65)
        at com.jfinal.core.ActionHandler.handle(ActionHandler.java:78)
        at com.system.handler.XssHandler.handle(XssHandler.java:42)
        at com.system.handler.EncodingHandler.handle(EncodingHandler.java:27)
        at com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:72)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.tjsoft.auction.filter.InjectFilter.doFilter(InjectFilter.java:139)
        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: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)
        at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
        at sun.security.validator.Validator.validate(Validator.java:218)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1014)
        ... 58 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
        at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
        at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
        ... 64 more

您需要登录后才可以回帖 登录 | 立即注册

Archiver|手机版|JEECG官方网站-企业级JAVA快速开发平台 ( 京ICP备12013567号-3 )  

GMT+8, 2019-3-23 04:41 , Processed in 1.216802 second(s), 20 queries , Gzip On.

JEECG Open Source

© 2001-2012 Comsenz Inc.

回顶部