I'm looking to run an exploded spring-boot jar. Currently I'm doing
jar xf app.jar
java -cp /lib/*:/ com/domain/module/Main
which seems to begin the app startup, but invariably stops on
[restartedMain] INFO c.a.a.spring.MetricsJersey2Config - Registering InstrumentedResourceMethodApplicationListener for jersey2 with MetricRegistry: com.codahale.metrics.MetricRegistry@43fee23e
The next line I'd usually expect to see is
[restartedMain] INFO o.s.s.c.ThreadPoolTaskExecutor - Initializing ExecutorService
Running the app using
java -jar app.jar
works fine, but for reasons I need to run it exploded.
Is there anything I'm missing in trying to run a spring-boot app this way?