I am running a Spring boot Java app in Netbeans 9.0 which has two profiles (test, production). I need to run the project in 'test' profile instead of the 'default'
I have tried the following setups
Setup 1
Project (Right click) > Properties > Run > Arguments
-Dspring.profiles.active=test
Setup 2
Project (Right click) > Properties > Actions > Run Projects > Activate Profiles
test
The configuration doesn't work correctly and I am getting the following message
"No active profile set, falling back to default profiles: default"
Could you please help me to set up this configuration
