Start Java Class from embedded library inside Spring Boot executable jar -


is possible start different java class (with main method) in spring boot executable jar declared mainclass?

speciality: class should started located in library embedded in executable jar (inside lib folder).

background information:

the executable jar contains library class call gracefully shutdown application. library embedded inside executable jars lib folder , not accessible default java classpath parameter.

see reply: https://stackoverflow.com/a/2023544/1499549. need specify class after defining jar file on classpath.

java -cp myapp.jar com.example.main1


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -