关闭ehcache的更新检查UpdateChecker ehcache默认开启自动更新检查,在你不能联网的环境下,会有异常出现。 在ehcache的配置文件中ehcache标签上加上属性updateCheck=”false” 即可。