前面因为在一个项目中使用了ehcache.xml配置文件,后面启动tomcat的时候报下面的错误
java.io.IOException: Server returned HTTP response code: 403 for URL: http://www.terracotta.org/kit/reflector?pageID=update.properties&kitID=ehcache.default&id=-1062719738&os-name=Windows+8.1&jvm-name=Java+HotSpot%28TM%29+64-Bit+Server+VM&jvm-version=1.7.0_80&platform=amd64&tc-version=2.6.6&tc-product=Ehcache+Core+2.6.6&source=Ehcache+Core&uptime-secs=1&patch=UNKNOWN at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1627) 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)
打开ehcache.xml配置文件发现
把updateCheck改成false就解决了
来源:https://blog.csdn.net/earthhour/article/details/79263307