No active profile set, falling back to default profiles: default
没有激活profile配置,执行默认的配置文件application.yaml
当配置了profile后:例如
spring:
profiles:
active: dev
就会显示The following profiles are active: dev
tomcat初始化80端口
Tomcat initialized with port(s): 80 (http)
开始初始化spring上下文
Initializing Spring embedded WebApplicationContext
上下文初始完成
Root WebApplicationContext: initialization completed in 793 ms
初始化druid数据源
init DruidDataSource
数据源一初始化完成
{dataSource-1} inited
tomcat服务器开启80端口(代表服务已经处理监听状态)
Tomcat started on port(s): 80 (http) with context path ''ontext path 是配置文件中配置的,访问url端口后需要加上/user-center后缀
Tomcat started on port(s): 8080 (http) with context path ‘/user-center’
服务启动时间和jvm运行时间
Started WxMpDemoApplication in 2.495 seconds (JVM running for 3.168)
swagger启动日志
swagger文档插件
Documentation plugins bootstrapped
Found 1 custom documentation plugin(s)
Scanning for api listing references
扫描swagger api引用
Generating unique operation named: queryByIdUsingGET_1
因为名称重复的提示