启动spring boot项目指定配置文件名称
启动spring boot项目指定配置文件名称new SpringApplicationBuilder(EurekaServer.class).properties("spring.config.name:eureka", "logging.level.com.netflix.discovery:OFF").run(args);
·
new SpringApplicationBuilder(EurekaServer.class).properties(
"spring.config.name:eureka", "logging.level.com.netflix.discovery:OFF").run(args);
更多推荐
已为社区贡献1条内容
所有评论(0)