In the new resources application.properties
In the resources of multiple separate new environment file
#test environment
applicaion-test.properties
# Development environment
application-dev.properties
#Production Environment
application-prod.properties
Then application.properties disposed inside spring.profiles.active = dev, showing the configuration development environment, which then reads the project, such as
@Value ( "HTTP_URL $ {}")
Private String HTTP_URL;
read is arranged inside application-dev.properties