thatadamedwards
04/18/2018, 4:18 PM@SpringBootApplication
@ComponentScan
public class Application extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(final SpringApplicationBuilder application) {
return application.sources(Application.class);
}
public static void main(final String[] args) {
SpringApplication.run(Application.class, args);
}
@Bean
Module kotlinModule() {
return new KotlinModule();
}
@Bean
Module jdk8Module() {
return new Jdk8Module();
}
}