小编Pra*_*ire的帖子

Spring Boot在不同环境下的部署

我对 Spring Boot 很陌生,我们正在开发 Spring Boot 应用程序(打包为 War 文件)。当在tomcat服务器上的较高环境中部署此war文件时,1.我们可以为war内的diff环境(可以是dev,int,uat,prod)配置application.properties吗?或者 2. 配置 application.properties 后,我们可以将其放在 tomcat 中的 conf 文件夹中,在 war 文件之外。(类似于将 context.xml 放入传统的 Web 应用程序中)并且应用程序仍然会选择它?

java spring-boot java-ee-8

2
推荐指数
1
解决办法
1万
查看次数

标签 统计

java ×1

java-ee-8 ×1

spring-boot ×1