SpringApplication is a class which has a static parametrized method called run(). Using this method any Spring Boot application can be bootstrapped by passing the class in this method.
One can start the application by calling the static run() method of SpringApplication.
☛ Next >> Spring Boot : Hello World Example
Create a Spring Boot application to print "Hello Wor ...
One can start the application by calling the static run() method of SpringApplication.
public static void main(String[] args){ SpringApplication.run(nameOfMainClass.class,args); } |
☛ Next >> Spring Boot : Hello World Example
Create a Spring Boot application to print "Hello Wor ...
No comments:
Post a Comment