springboot 项目tomcat中失败,求解

彼将自然 2017-12-28 09:16:38
2017/12/28-21:13:32 [localhost-startStop-2] INFO org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter- started inbound
2017/12/28-21:13:32 [localhost-startStop-2] INFO org.springframework.context.support.DefaultLifecycleProcessor- Starting beans in phase 2147483647
2017/12/28-21:13:32 [localhost-startStop-2] INFO com.ch.tri.SpringBootStartApplication- Started SpringBootStartApplication in 7.451 seconds (JVM running for 740.505)
28-Dec-2017 21:13:32.471 严重 [localhost-startStop-2] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
28-Dec-2017 21:13:32.473 严重 [localhost-startStop-2] org.apache.catalina.core.StandardContext.startInternal Context [/WebIThings-0.0.1-SNAPSHOT] startup failed due to previous errors
2017/12/28-21:13:32 [localhost-startStop-2] INFO org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext- Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@7c05e2f1: startup date [Thu Dec 28 21:13:25 CST 2017]; root of context hierarchy
2017/12/28-21:13:32 [localhost-startStop-2] INFO org.springframework.context.support.DefaultLifecycleProcessor- Stopping beans in phase 2147483647
2017/12/28-21:13:32 [localhost-startStop-2] INFO org.springframework.context.support.DefaultLifecycleProcessor- Stopping beans in phase 1073741823
2017/12/28-21:13:33 [localhost-startStop-2] INFO org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter- stopped inbound
...全文
510 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
oyljerry 2017-12-29
  • 打赏
  • 举报
回复
发布到tomcat的时候,springboot的pom去掉tomcat的依赖等,打包成war放到tomcat
baidu_36703617 2017-12-29
  • 打赏
  • 举报
回复
springboot项目中自带tomcat,直接能启动,不需要放在tomcat中
tianfang 2017-12-29
  • 打赏
  • 举报
回复
springboot是自己独立启动的 不在tomcat中启动

50,503

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧