从 IntelliJ-Idea 启动 spring-boot 应用程序时遇到问题。通过终端运行应用程序时我没有这个问题。
:: Spring Boot :: (v1.2.1.RELEASE)
2015-09-24 12:22:44.274 WARN 22380 --- [ main] n.sf.ehcache.config.CacheConfiguration : Cache 'publicationsCount' is set to eternal but also has TTI/TTL set. To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'publicationsCount' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
Process finished with exit code 0
我认为这个警告不是造成它的原因。可能是什么原因?
原文由 Greg Zuber 发布,翻译遵循 CC BY-SA 4.0 许可协议
删除 提供 的 spring-boot-starter-tomcat 依赖范围对我有帮助。