package com.ssm;


import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import tk.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(scanBasePackages="com.ssm")
@EnableSwagger2
@MapperScan("com.ssm.manage.mapper")
@EnableScheduling
@EnableAspectJAutoProxy
//@ComponentScan(basePackages = {"com.ssm.filter"})
//@ComponentScan(basePackages = {"com.ssm"})
public class DmWebApp {
    public static void main(String[] args) throws InterruptedException {
        SpringApplication.run(DmWebApp.class, args);
    }
}
