package com.ltkj;
|
|
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
import org.springframework.cache.annotation.EnableCaching;
|
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.scheduling.annotation.EnableAsync;
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|
/**
|
* 启动程序
|
*
|
* @author ltkj
|
*/
|
@EnableTransactionManagement
|
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class},scanBasePackages = {"org.jeecg.modules.jmreport","com.ltkj"})
|
@EnableAsync
|
@EnableCaching
|
public class LtkjApplication {
|
public static void main(String[] args) {
|
//spring-boot-devtools的模块使Spring Boot应用支持热部署,无需手动重启Spring Boot应用。
|
System.setProperty("spring.devtools.restart.enabled", "false");
|
|
SpringApplication.run(LtkjApplication.class, args);
|
System.out.println("项目启动成功!!!\n" +
|
" \n" +
|
" ██ ██████████ ██ ██ ██\n" +
|
" ██ ██ ██ ██ ██\n" +
|
" ██ ██ ██ ██ ██\n" +
|
" ██ ██ ████ ██\n" +
|
" ██ ██ ██ ██ ██\n" +
|
" ██ ██ ██ ██ ██ ██\n" +
|
" ████████ ██ ██ ██ ██████\n");
|
}
|
}
|