当spring-boot运行时,IntelliJ进程以退出代码0结束 [英] IntelliJ Process finished with exit code 0 when spring-boot run

查看:2798
本文介绍了当spring-boot运行时,IntelliJ进程以退出代码0结束的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从IntelliJ-Idea启动spring-boot应用程序时遇到问题。通过终端运行应用程序时没有这个问题。

I have a problem when starting spring-boot appication from IntelliJ-Idea. I don't have this problem when running application through terminal.

:: 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

我认为此警告不会导致它。可能是什么原因?

I think this warn is not causing it. What may be the reason?

推荐答案

删除提供的范围 spring-boot-starter -tomcat 依赖帮助我。

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-tomcat</artifactId>
</dependency>

这篇关于当spring-boot运行时,IntelliJ进程以退出代码0结束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆