Executing an Arbitrary Main Class from a Spring Boot JAR
Jump to navigation
Jump to search
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 ...