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 @ 2019-02-19 22:45  Ezi0  阅读(269)  评论(0编辑  收藏  举报