Main.java
903 Bytes
package cn.com.glsx.entmicro;
import com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration;
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.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
@SpringBootApplication(exclude = PageHelperAutoConfiguration.class, scanBasePackages = {"cn.com.glsx.*"})
@ServletComponentScan
@EnableAspectJAutoProxy
@EnableAsync
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);
}
}