Process finished with exit code 1

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/wljk506/article/details/98736317

遇到一个奇葩的问题,直接显示 Process finished with exit code 1,也不显示错误信息。

最后的问题原因是,logback-spring.xml 版本冲突,没有修改,导致启动不成功

展开阅读全文

idea启动springboot项目,控制台出现Process finished with exit code 0,

10-06

[code=java]2017-10-06 14:29:49.326 WARN 3348 --- [ main] o.h.v.m.ParameterMessageInterpolator : HV000184: ParameterMessageInterpolator has been chosen, EL interpolation will not be supportedrn2017-10-06 14:29:51.577 WARN 3348 --- [ main] .t.AbstractTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)rn2017-10-06 14:29:52.093 INFO 3348 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startuprn2017-10-06 14:29:52.106 INFO 3348 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'rabbitConnectionFactory' has been autodetected for JMX exposurern2017-10-06 14:29:52.109 INFO 3348 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'rabbitConnectionFactory': registering with JMX server as MBean [org.springframework.amqp.rabbit.connection:name=rabbitConnectionFactory,type=CachingConnectionFactory]rn2017-10-06 14:29:52.149 INFO 3348 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 2147483647rn2017-10-06 14:29:52.159 INFO 3348 --- [ main] shop.itbug.AppApplication : Started AppApplication in 10.505 seconds (JVM running for 12.099)rn2017-10-06 14:29:52.160 INFO 3348 --- [ Thread-24] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@475e586c: startup date [Fri Oct 06 14:29:44 CST 2017]; root of context hierarchyrn2017-10-06 14:29:52.161 INFO 3348 --- [ Thread-24] o.s.c.support.DefaultLifecycleProcessor : Stopping beans in phase 2147483647rn2017-10-06 14:29:52.185 INFO 3348 --- [ Thread-24] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdownrn2017-10-06 14:29:52.185 INFO 3348 --- [ Thread-24] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beansrn2017-10-06 14:29:52.185 INFO 3348 --- [ Thread-24] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'[/code]部分代码如上,Thread-24线程不应该出现的,重装idea也这样,求大神解决 论坛

没有更多推荐了,返回首页