Main.java 984 Bytes
package com.glsx;

import org.mybatis.spring.annotation.MapperScan;
import org.oreframework.boot.main.AbsOreBootStarter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author deployer name
 * @version V1.0
 * @Title: Main.java
 * @Description:
 * @Company: Didihu.com.cn
 * @Copyright Copyright (c) 2015
 */
@EnableAsync
@SpringBootApplication
@ServletComponentScan
@EnableSwagger2
public class Main extends AbsOreBootStarter {

    @Override
    public void run(String[] args) {
        SpringApplication.run(Main.class, args);
    }

    public static void main(String[] args) {
        Main main = new Main();
        main.run(args);
    }
}