spring Boot,启动
2021-07-02 14:05
标签:ack string gap com main .class can java rgs @Controller spring Boot,启动 标签:ack string gap com main .class can java rgs 原文地址:https://www.cnblogs.com/gzhbk/p/9629775.html
@EnableAutoConfiguration //启用srpingboot的配置
@ComponentScan(basePackages={"cn.java.controller.*","cn.java.service.impl"})
@MapperScan(value="cn.java.mapper")/扫措dao接口
public class FrontCOntroller{
public static void main(String[] args){
//启动spring boot
SpringApplication.run(FontController.class,args,)
}
}