| | |
| | | |
| | | 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; |
| | | |
| | | @ComponentScan(basePackages = {"com.zy.component","com.zy.acs"}) |
| | | @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); |
| | | } |
| | | |
| | | |
| | | } |
| | | |