[Java] [Spring Boot] Specify runtime profile --Spring Boot starting with NetBeans

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

Screenshot from 2016-12-22 17-32-16.png

environment

Recommended Posts

[Java] [Spring Boot] Specify runtime profile --Spring Boot starting with NetBeans
Spring Boot starting with copy
Spring Boot starting with Docker
[Java] LINE integration with Spring Boot
[Java] Hello World with Java 14 x Spring Boot 2.3 x JUnit 5 ~
[Java] Article to add validation with Spring Boot 2.3.1.
Download with Spring Boot
Switch environment with Spring Boot application.properties and @Profile annotation
Generate barcode with Spring Boot
Hello World with Spring Boot
Java Config with Spring MVC
Implement GraphQL with Spring Boot
Enable Java EE with NetBeans 9
Get started with Spring boot
Hello World with Spring Boot!
Run LIFF with Spring Boot
SNS login with Spring Boot
[Java] Thymeleaf Basic (Spring Boot)
File upload with Spring Boot
CICS-Run Java application-(4) Spring Boot application
Using Mapper with Java (Spring)
Hello World with Spring Boot
Set cookies with Spring Boot
Use Spring JDBC with Spring Boot
Add module with Spring Boot
Getting Started with Spring Boot
[Java] [Spring] Spring Boot 1.4-> 1.2 Downgrade Note
Create microservices with Spring Boot
Send email with spring boot
[Java / Kotlin] Escape (sanitize) HTML5 support with unbescape [Spring Boot]
Handle Java 8 date and time API with Thymeleaf with Spring Boot
Domain Driven Development with Java and Spring Boot ~ Layers and Modules ~
[Java] Sample project for developing web applications with Spring Boot
Spring Boot + Java + GitHub authentication login
Use Basic Authentication with Spring Boot
gRPC on Spring Boot with grpc-spring-boot-starter
Set Spring profile when executing bootRun task with Spring Boot Gradle Plugin
Create an app with Spring Boot 2
Hot deploy with Spring Boot development
Database linkage with doma2 (Spring boot)
Elastic Beanstalk (Java) + Spring Boot + https
Spring Boot programming with VS Code
Until "Hello World" with Spring Boot
Inquiry application creation with Spring Boot
Java --Jersey Framework vs Spring Boot
Get validation results with Spring Boot
Compare Hello, world! In Spring Boot with Java, Kotlin and Groovy
(Intellij) Hello World with Spring Boot
Create an app with Spring Boot
Spring profile function, and Spring Boot application.properties
Google Cloud Platform with Spring Boot 2.0.0
Check date correlation with Spring Boot
I tried GraphQL with Spring Boot
Beginning with Spring Boot 0. Use Spring CLI
I tried Flyway with Spring Boot
Spring Boot starting from zero Part 2
Spring Boot starting from zero Part 1
Message cooperation started with Spring Boot
Spring Boot gradle build with Docker
[LINE BOT] I made a ramen BOT with Java (Maven) + Heroku + Spring Boot (1)
Introduction to Java development environment & Spring Boot application created with VS Code