1. 配置Context path/Port,application.properties中
server.contextPath=/MYPATH
server.port=12378
2. 配置Profile
VM参数:-Dspring.profiles.active=dev
或
application.properties中: spring.profiles.active=MY_PROFILE
1. 配置Context path/Port,application.properties中
server.contextPath=/MYPATH
server.port=12378
2. 配置Profile
VM参数:-Dspring.profiles.active=dev
或
application.properties中: spring.profiles.active=MY_PROFILE