Step 1. RUN/Debug ConfigurationsStep 2. add run option(Add VM option)Step 3. Input " -Dspring.profiles.active=dev" in VM option fieldStep 4. Run -Dspring.profiles.active=dev-Dspring.profiles.active=prod