sample.AppConfig Maven / Gradle / Ivy
The newest version!
package sample;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
/**
* @author qiweishi
* @date 2018/11/17
*/
@SpringBootApplication
@ComponentScan({"com.envision", "sample"})
@MapperScan("com.envision.sql")
public class AppConfig {
public static void main(String[] args) {
SpringApplication.run(AppConfig.class, args);
}
}