package com.it.rattan; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.context.annotation.ComponentScan; import org.springframework.transaction.annotation.EnableTransactionManagement; @SpringBootApplication @ServletComponentScan(basePackages ={"com.it.rattan"}) @ComponentScan(basePackages ={"com.it.rattan"}) @EnableTransactionManagement /*@EnableAsync @EnableAspectJAutoProxy*/ public class SpcCloudApplication { public static void main(String[] args) { SpringApplication.run(SpcCloudApplication.class, args); } }