启动Tomcat时,一直报这个错,重新打包也还是报同样的错,最后重启服务器搞定 (╥╯^╰╥),服务器环境真的是个坑,建议服务器由于断电等原因重启时,一定不要着急启动应用和服务,等服务器的基本服务都起来后,再启动自己要部署的服务。
DEBUG | 2019/07/05 05:21:22:798 | net.sf.ehcache.util.UpdateChecker:checkForUpdate:63 | Update check failed:
java.net.UnknownHostException: www.terracotta.org
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
at net.sf.ehcache.util.UpdateChecker.getUpdateProperties(UpdateChecker.java:108)
at net.sf.ehcache.util.UpdateChecker.doCheck(UpdateChecker.java:72)
at net.sf.ehcache.util.UpdateChecker.checkForUpdate(UpdateChecker.java:60)
at net.sf.ehcache.util.UpdateChecker.run(UpdateChecker.java:51)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)