Skip to content

Instantly share code, notes, and snippets.

View anypossiblew's full-sized avatar

Tiven Wang anypossiblew

View GitHub Profile
// Enable component-scanning and auto-configuration with @SpringBootApplication Annotation
// It combines @Configuration + @ComponentScan + @EnableAutoConfiguration
@SpringBootApplication
public class FooApplication {
public static void main(String[] args) {
// Bootstrap the application
SpringApplication.run(FooApplication.class, args);
}
}