package com.jcdm; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.scheduling.annotation.EnableScheduling; /** * 启动程序 * * @author jc */ @EnableScheduling //定时任务 @ServletComponentScan //webSocket @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) public class MesApplication { public static void main(String[] args) { // System.setProperty("spring.devtools.restart.enabled", "false"); SpringApplication.run(MesApplication.class, args); System.out.println("(♥◠‿◠)ノ゙ 系统启动成功 ლ(´ڡ`ლ)゙ \n" + " .-./`) _______ ______ ,---. ,---. \n"+ " '_ .') / __ | _ `''. | > < | \n"+ " (_ (_) _) | ,_/ __) | _ | ) _ | , >< , | \n"+ " / . ,-./ ) |( ''_' ) || | _ /| | \n"+ " ___ |-'`| > '_ '`) | . (_) `. || _( )_/ | | \n"+ "| | | ' > (_) ) __ |(_ ._) '| (_ o _) | | \n"+ "| `-' / ( . .-'_/ )| (_. .' / | (_,_) | | \n"+ " / `-'`-' / | .' | | | | \n"+ " `-..-' `._____.' '-----'` '--' '--' \n" ); } }