Spring Boot Tricky Questions -3
In a Spring Boot application, you need to change the default port in Spring Boot. How can this be achieved? which of the below-mentioned answer is correct. Using the command line when running the application as a jar file, we can set the server.port as a java command Dserver.port argument. Using a properties file we can define this in an application.properties (or application.yml) file using…
View On WordPress











