forked from liweijie/education
25 lines
814 B
Java
25 lines
814 B
Java
package com.roomroot;
|
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.jdbc.autoconfigure.DataSourceAutoConfiguration;
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
/**
|
|
* 启动程序
|
|
*
|
|
* @author roomroot
|
|
*/
|
|
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
|
|
@MapperScan({"com.roomroot.**.mapper"})
|
|
public class RoomRootApplication
|
|
{
|
|
public static void main(String[] args)
|
|
{
|
|
// System.setProperty("spring.devtools.restart.enabled", "false");
|
|
SpringApplication.run(RoomRootApplication.class, args);
|
|
System.out.println("(♥◠‿◠)ノ゙ 启动成功 ლ(´ڡ`ლ)゙ \n");
|
|
}
|
|
}
|