package com.xuqm.update; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; import org.springframework.scheduling.annotation.EnableAsync; import org.springframework.scheduling.annotation.EnableScheduling; @SpringBootApplication @EnableScheduling @EnableAsync @ComponentScan(basePackages = {"com.xuqm.update", "com.xuqm.common"}) public class UpdateServiceApplication { public static void main(String[] args) { SpringApplication.run(UpdateServiceApplication.class, args); } }