1
zhang
4 天以前 bc56530307e0e92b94a1abb5d38368f04b92e990
zy-acs-hex/src/main/java/com/zy/acs/hex/HexApplication.java
@@ -3,14 +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);
    }
}