1
zhang
4 天以前 e5e76412f1a20e8aed95614cbd7bf2b638cda2cc
zy-acs-hex/src/main/java/com/zy/acs/hex/HexApplication.java
@@ -3,16 +3,19 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
@EnableScheduling
@ComponentScan(basePackages = {"com.zy.component", "com.zy.acs"})
@SpringBootApplication
public class HexApplication {
public class HexApplication extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication.run(HexApplication.class, args);
    }
}