@Test public void mainTest() { Runnable runnable = () -> Application.main(noArgs); Thread thread = new Thread(runnable); thread.start(); }
public static void main(final String[] args) { SpringApplication.run(Application.class, args); GMS_LOGGER.info("Application is running..."); }
Application extends SpringBootServletInitializer { public static void main(final String[] args) { SpringApplication.run(Application.class, args); GMS_LOGGER.info("Application is running..."); } }
Application extends SpringBootServletInitializer { public static void main(final String[] args) { SpringApplication.run(Application.class, args); GMS_LOGGER.info("Application is running..."); }  }
Application extends SpringBootServletInitializer { public static void main(final String[] args) { SpringApplication.run(Application.class, args); GMS_LOGGER.info("Application is running..."); }  static void main(final String[] args); @Bean CommandLineRunner commandLineRunner(final AppService appService); @Bean BCryptPasswordEncoder bCryptPasswordEncoder(); @Bean ErrorPageRegistrar errorPageRegistrar(); }
Application extends SpringBootServletInitializer { public static void main(final String[] args) { SpringApplication.run(Application.class, args); GMS_LOGGER.info("Application is running..."); }  static void main(final String[] args); @Bean CommandLineRunner commandLineRunner(final AppService appService); @Bean BCryptPasswordEncoder bCryptPasswordEncoder(); @Bean ErrorPageRegistrar errorPageRegistrar();  }