1 package com.-.it.regioc; 2 3 import com.huawei.it.regioc.config.ConfigurationFactory; 4 import org.mybatis.spring.annotation.MapperScan; 5 import org.springframework.boot.SpringApplication; 6 import org.springframework.boot.autoconfigure.SpringBootApplication; 7 import org.springframework.context.annotation.PropertySource; 8 import org.springframework.scheduling.annotation.EnableAsync; 9 10 @SpringBootApplication 11 @EnableAsync 12 @MapperScan("com.huawei.regioc.dao") 13 @PropertySource(value = {"classpath:config/api-config.yml"}, factory = ConfigurationFactory.class) 14 public class RegiocApplication { 15 public static void main(String[] args) { 16 17 SpringApplication.run(RegiocApplication.class, args); 18 19 } 20 21 }
标签:RegiocApplication,springframework,org,import,config,class From: https://www.cnblogs.com/mingruifeng/p/16878730.html