SpringBoot Web项目部署至 Tomcat7的坑

当部署SpringBoot Web项目至外置tomcat时,建议使用tomcat 8以上的版本。

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.3.RELEASE)

2019-06-13 10:51:52.726  INFO 7012 --- [ost-startStop-1] a.y.s.SpringBootStartApplication         : Starting SpringBootStartApplication on shad0702 with PID 7012 (E:\tomcat7-1\webapps\springBootDemo\WEB-INF\classes started by cn0702 in E:\eclipse-jee-2018-09-win32-x86_64\eclipse)
2019-06-13 10:51:52.728  INFO 7012 --- [ost-startStop-1] a.y.s.SpringBootStartApplication         : No active profile set, falling back to default profiles: default
2019-06-13 10:51:52.805  INFO 7012 --- [ost-startStop-1] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@78addc41: startup date [Thu Jun 13 10:51:52 CST 2019]; root of context hierarchy
2019-06-13 10:51:53.336  INFO 7012 --- [ost-startStop-1] o.s.b.f.s.DefaultListableBeanFactory     : Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Tomcat; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Tomcat.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]]
2019-06-13 10:51:53.630  INFO 7012 --- [ost-startStop-1] o.a.c.c.C.[.[.[/springBootDemo]          : Initializing Spring embedded WebApplicationContext
2019-06-13 10:51:53.630  INFO 7012 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 825 ms
2019-06-13 10:51:54.043  INFO 7012 --- [ost-startStop-1] o.s.b.w.servlet.Se
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值