- Let's go to our code directory from Chapter 5, Application Testing, and execute ./gradlew clean build
- With the Uber JAR built, let's launch the application by executing java -jar build/libs/ch6-0.0.1-SNAPSHOT.jar
- This will result in our application running in the JAR file with the following console output:
. ____ _ __ _ _
/ / ___'_ __ _ _(_)_ __ __ _
( ( )___ | '_ | '_| | '_ / _` |
/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |___, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.0.0.BUILD-SNAPSHOT)
...
(The rest is omitted for conciseness)
...
2017-12-17 INFO: Registering beans for JMX exposure on startup
2017-12-17 INFO: Tomcat started on port(s): 8080 (http) 8443
(https)
2017-12-17 INFO: Welcome to the Book Catalog System!
2017-12-17 INFO: BookRepository has 1 entries
2017-12-17 INFO: ReviewerRepository has 0 entries
2017-12-17 INFO: PublisherRepository has 1 entries
2017-12-17 INFO: AuthorRepository has 1 entries
2017-12-17 INFO: Started BookPubApplication in 12.156 seconds (JVM
running for 12.877)
2017-12-17 INFO: Number of books: 1
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.