package com.bizmatics.controller; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.context.annotation.ComponentScan; import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframework.transaction.annotation.EnableTransactionManagement; @EnableElasticsearchRepositories(basePackages = "com.bizmatics.persistence.mapper.es") @EnableFeignClients("com.bizmatics") @ComponentScan("com.bizmatics") @SpringBootApplication @EnableTransactionManagement @EnableScheduling @MapperScan(value = "com.bizmatics.persistence.mapper") public class DemoControllerApplication { public static void main(String[] args) { SpringApplication.run(DemoControllerApplication.class, args); } }