|
|
@@ -197,7 +197,7 @@ $ mvn package spring-boot:run
|
|
197
|
197
|
|
|
198
|
198
|
You should see some output like this:
|
|
199
|
199
|
|
|
200
|
|
-```txt
|
|
|
200
|
+```sh
|
|
201
|
201
|
Let's inspect the beans provided by Spring Boot:
|
|
202
|
202
|
application
|
|
203
|
203
|
beanNameHandlerMapping
|
|
|
@@ -316,7 +316,7 @@ $ mvn package spring-boot:run
|
|
316
|
316
|
|
|
317
|
317
|
Now check out the output:
|
|
318
|
318
|
|
|
319
|
|
-```txt
|
|
|
319
|
+```sh
|
|
320
|
320
|
Let's inspect the beans provided by Spring Boot:
|
|
321
|
321
|
application
|
|
322
|
322
|
beanNameHandlerMapping
|
|
|
@@ -384,7 +384,7 @@ class ThisWillActuallyRun {
|
|
384
|
384
|
```
|
|
385
|
385
|
Spring Boot automatically laces the code with key annotations and Groovy Grapes to pull down needed libraries to make the app run. With Spring Boot's CLI tool, all you need do is:
|
|
386
|
386
|
|
|
387
|
|
-```txt
|
|
|
387
|
+```sh
|
|
388
|
388
|
$ spring run app.groovy
|
|
389
|
389
|
$ curl localhost:8080
|
|
390
|
390
|
Hello World!
|