2013-07-22 21:40:50 +08:00
|
|
|
package ${packageName};
|
|
|
|
|
2013-08-19 21:19:01 +08:00
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
2013-07-22 21:40:50 +08:00
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
2014-03-06 17:32:42 +08:00
|
|
|
import org.springframework.context.annotation.Configuration;
|
2013-07-22 21:40:50 +08:00
|
|
|
|
2014-03-06 17:32:42 +08:00
|
|
|
@Configuration
|
2013-07-22 21:40:50 +08:00
|
|
|
@ComponentScan
|
|
|
|
@EnableAutoConfiguration
|
|
|
|
public class Application {
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
SpringApplication.run(Application.class, args);
|
|
|
|
}
|
|
|
|
}
|