您的位置:首页 > 运维架构 > Tomcat

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

2017-08-24 17:16 976 查看
\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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  tomcat idea spring