|
|
@@ -66,8 +66,6 @@ include::complete/src/main/java/hello/Application.java[]
|
|
66
|
66
|
|
|
67
|
67
|
include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/spring-boot-application.adoc[]
|
|
68
|
68
|
|
|
69
|
|
-There is also a `CommandLineRunner` method marked as a `@Bean` and this runs on start up. It retrieves all the beans that were created either by your app or were automatically added thanks to Spring Boot. It sorts them and prints them out.
|
|
70
|
|
-
|
|
71
|
69
|
== Run the application
|
|
72
|
70
|
To run the application, execute:
|
|
73
|
71
|
|