在系统启动中,关闭web功能
@SpringBootApplication
public class XxlJobExecutorApplication {
public static void main(String[] args) {
new SpringApplicationBuilder(XxlJobExecutorApplication.class)
.web(WebApplicationType.NONE)
.run(args);
}
}
网友评论