NutzCN Logo
问答 ehcache 服务器启动的时候 报了这样一个错误 为啥
发布于 180天前 作者 Rekoe 87 次浏览 复制 上一个帖子 下一个帖子
标签:
09:44:19.624 [net.sf.ehcache.CacheManager@1e2d3080] DEBUG net.sf.ehcache.util.UpdateChecker - Update check failed: 
java.net.SocketTimeoutException: connect timed out
	at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[?:1.8.0_66]
	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) ~[?:1.8.0_66]
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_66]
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_66]
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_66]
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_66]
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_66]
	at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_66]
	at sun.net.NetworkClient.doConnect(NetworkClient.java:175) ~[?:1.8.0_66]
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) ~[?:1.8.0_66]
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) ~[?:1.8.0_66]
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) ~[?:1.8.0_66]
	at sun.net.www.http.HttpClient.New(HttpClient.java:308) ~[?:1.8.0_66]
	at sun.net.www.http.HttpClient.New(HttpClient.java:326) ~[?:1.8.0_66]
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169) ~[?:1.8.0_66]
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105) ~[?:1.8.0_66]
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999) ~[?:1.8.0_66]
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933) ~[?:1.8.0_66]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513) ~[?:1.8.0_66]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) ~[?:1.8.0_66]
	at net.sf.ehcache.util.UpdateChecker.getUpdateProperties(UpdateChecker.java:108) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.util.UpdateChecker.doCheck(UpdateChecker.java:72) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.util.UpdateChecker.checkForUpdate(UpdateChecker.java:60) [ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.util.UpdateChecker.run(UpdateChecker.java:51) [ehcache-core-2.6.11.jar:?]
	at java.util.TimerThread.mainLoop(Timer.java:555) [?:1.8.0_66]
	at java.util.TimerThread.run(Timer.java:505) [?:1.8.0_66]

1 回复

打开ehcache.xml,在根节点添加属性

updateCheck="false"
添加回复
请先登陆
回到顶部