package com.oauth.code; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; /** * Created by wuhuachuan on 16/5/9. */ @EnableAutoConfiguration @ComponentScan @Configuration public class Boot { public static void main(String[] args) throws Exception { SpringApplication.run(Boot.class, args); } }