How to specify a Spring Boot profile when running a project from NetBeans.
Right-click on the project> Properties> Select Run from the tree
If necessary, select the Maven profile from the Configuration dropdown.
Enter the arguments to Java in VM Options.
-Dspring.profiles.active=development
Recommended Posts