Server returned HTTP response code: 403 for URL: http://www.terracotta.org/kit/reflector?

这两天在做mybatis整合ehcache的时候,正常配置,启动测试后,报出下面这个错误:
java.io.IOException: Server returned HTTP response code: 403 for URL: http://www.terracotta.org/kit/reflector?pageID=update.properties&patch=UNKNOWN&tc-product=ehcache-core+2.10.1&tc-version=2.10.1&uptime-secs=1&kitID=ehcache.default&jvm-version=1.8.0_144&os-name=Windows+7&id=172311420&source=ehcache-core&jvm-name=Java+HotSpot(TM)+64-Bit+Server+VM&platform=amd64

在网上寻找后,解决方案为下:
打开ehcache.xml检查一下

把updateCheck改成false就解决了

猜你喜欢

转载自blog.csdn.net/yi_chen_/article/details/84959810