Executing an Arbitrary Main Class from a Spring Boot JAR: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Spring Boot =Overview= A Spring Boot JAR comes with all an application needs to function, and the application can be started as simply...") |
(No difference)
|
Revision as of 18:20, 20 December 2018
Internal
Overview
A Spring Boot JAR comes with all an application needs to function, and the application can be started as simply as:
java -jar my-app.jar
This works because there is a well defined entry point that bootstraps the Spring Boot runtime. The application bytecode is maintained under a BOOT-INF directory inside the JAR. However, this interferes with ...