Practice Test Geeks home

Spring Boot Externalized Configuration and Profiles Questions and Answers

A Spring Boot application defines the property `server.port=8080` in its `application.properties` file.
An OS environment variable is set as `SERVER_PORT=7070`.

The application is then launched with the command: `java -jar app.jar --server.port=9090`.

On which port will the application start?

Select your answer