java.net.ConnectException: Connection timed out: connect,java.util.zip.ZipException: invalid LOC header (bad signature)

1、调用ESB服务时报错:

java.net.ConnectException: Connection timed out: connect

解决办法:内网地址有问题,连接超时,切换内网地址。

2、工程启动报错

java.lang.RuntimeException: Error scanning entry org/joda/time/base/AbstractDateTime.class from jar file:/D:/mios-chinamobile-sx/mios-chinamobile-sx-rest/target/mios-chinamobile-sx-rest-0.0.1-SNAPSHOT/WEB-INF/lib/joda-time-1.6.2.jar
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)

解决办法:jar包下载失败,将对应路径内的文件删除,maven重新下载

posted @   Ezi0  阅读(271)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示