package vip.xiaonuo; import cn.hutool.log.Log; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.scheduling.annotation.EnableAsync; /** * SpringBoot方式启动类 * * @author yubaoshan * @date 2017/5/21 12:06 */ @SpringBootApplication @EnableAsync public class SnowyApplication { private static final Log log = Log.get(); public static void main(String[] args) { SpringApplication.run(SnowyApplication.class, args); log.info(">>> " + SnowyApplication.class.getSimpleName() + " is success!"); } }