Java spring boot 2.4.0或更高版本中的多文档属性和配置文件 列表项
Spring版本:2.4.5 Spring抛出错误:重复的属性键 文档中有一个类似的例子,什么可能导致问题Java spring boot 2.4.0或更高版本中的多文档属性和配置文件 列表项,java,spring-boot,application.properties,Java,Spring Boot,Application.properties,Spring版本:2.4.5 Spring抛出错误:重复的属性键 文档中有一个类似的例子,什么可能导致问题 Hi@Sourav请检查以下答案: #--- service.endpoint = http://test.co/ service.auth.username = test #--- spring.config.activate.on-profile=prod service.endpoint = http://prod.co/ service.auth.username= prod
Hi@Sourav请检查以下答案:
#---
service.endpoint = http://test.co/
service.auth.username = test
#---
spring.config.activate.on-profile=prod
service.endpoint = http://prod.co/
service.auth.username= prod