使用Interllij Idea2017.2创建SpringBoot 启动不了Tomcat问题

\zhe :: Spring Boot :: (v1.5.6.RELEASE)

2017-08-24 17:08:36.183 INFO 15412 — [ main] com.exam.demo.DemoApplication : Starting DemoApplication on user-PC with PID 15412 (F:\JDK\WorkSpace-IdeaProjects\demo\target\classes started by Administrator in F:\JDK\WorkSpace-IdeaProjects\demo)
2017-08-24 17:08:36.185 INFO 15412 — [ main] com.exam.demo.DemoApplication : No active profile set, falling back to default profiles: default
2017-08-24 17:08:36.242 INFO 15412 — [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@17baae6e: startup date [Thu Aug 24 17:08:36 CST 2017]; root of context hierarchy
2017-08-24 17:08:37.504 INFO 15412 — [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2017-08-24 17:08:37.522 INFO 15412 — [ main] com.exam.demo.DemoApplication : Started DemoApplication in 1.765 seconds (JVM running for 2.827)
2017-08-24 17:08:37.530 INFO 15412 — [ Thread-5] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@17baae6e: startup date [Thu Aug 24 17:08:36 CST 2017]; root of context hierarchy
2017-08-24 17:08:37.532 INFO 15412 — [ Thread-5] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown

Process finished with exit code 0

前提条件:已经在本地分别装好jdk、maven和tomcat服务。
解决方式:打开pom.xml,将
org.springframework.boot
spring-boot-starter-parent
1.5.6.RELEASE
版本号改为1.4.1.RELEASE,重新运行DemoApplication.

你可能感兴趣的:(java,Idea,springboot)