springboot项目配置多环境打包部署遇到的问题总结

由于项目用到了多个环境,springboot项目在打包的时候要根据环境进行初始化相关设置,所以须要在pom文件中配置多环境变量 pom配置文件以下:web <profiles> <profile> <id>dev</id> <properties> <profileActive>dev</profile
相关文章
相关标签/搜索