package com.xzx.gc; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; import org.springframework.scheduling.annotation.EnableAsync; import org.springframework.scheduling.annotation.EnableScheduling; import tk.mybatis.spring.annotation.MapperScan; @EnableAsync @EnableScheduling @MapperScan({"com.xzx.gc.*.mapper"}) @SpringBootApplication public class GcSystemApplication extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { return application.sources(GcSystemApplication.class); } public static void main(String[] args) { SpringApplication.run(GcSystemApplication.class, args); } }