package cn.com.tenlion.businesscard; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; @SpringBootApplication @ComponentScan("cn.com") public class BusinessCardApplication { public static void main(String[] args) { SpringApplication.run(BusinessCardApplication.class, args); } }