Exception in thread "main" com.caucho.hessian.client.HessianRuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java)
at $Proxy0.regUser(Unknown Source)
at GMServerSample.regUser(GMServerSample.java:43)
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java)
at $Proxy0.regUser(Unknown Source)
at GMServerSample.regUser(GMServerSample.java:43)
at GMServerSample.main(GMServerSample.java:64)
用date命令查看时间不对,于是修改时间,然后写入cmos,然后重启tomcat,问题解决。
hwclock -w
命令修改系统时间到当前时间后再执行java程序,报错消失了。