package com.ltkj; import cn.hutool.crypto.SecureUtil; 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.scheduling.annotation.EnableScheduling; import org.springframework.transaction.annotation.EnableTransactionManagement; /** * 启动程序 * * @author ltkj */ @EnableTransactionManagement @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class},scanBasePackages = {"org.jeecg.modules.jmreport","com.ltkj"}) @EnableAsync @EnableCaching @EnableScheduling public class LtkjApplication { public static void main(String[] args) { //spring-boot-devtools的模块使Spring Boot应用支持热部署,无需手动重启Spring Boot应用。 System.setProperty("spring.devtools.restart.enabled", "false"); // System.setProperty("https.protocols", "TLSv1"); SpringApplication.run(LtkjApplication.class, args); System.out.println("项目启动成功!!!\n" + " \n" + " ██ ██████████ ██ ██ ██\n" + " ██ ██ ██ ██ ██\n" + " ██ ██ ██ ██ ██\n" + " ██ ██ ████ ██\n" + " ██ ██ ██ ██ ██\n" + " ██ ██ ██ ██ ██ ██\n" + " ████████ ██ ██ ██ ██████\n"); //linux解决hutll权限报错的问题 SecureUtil.disableBouncyCastle(); } }