14
從IntelliJ-Idea開始彈簧啓動應用程序時遇到問題。通過終端運行應用程序時,我沒有這個問題。IntelliJ過程在彈出引導程序運行時以退出代碼0結束
:: 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
我覺得這個警告並沒有引起它。可能是什麼原因?
退出代碼0表示應用程序結束時沒有錯誤。那麼問題是什麼? – dunni
但它不應該關閉。春季啓動應該等待運行,等待請求。 –
僅在您未在應用程序中包含Web服務器的情況下才會指定。所以如果你需要更多的幫助,你應該發佈相關的配置。 – dunni