You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
package com.shkj;
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
|
|
|
|
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
|
|
|
|
|
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
|
|
|
|
|
import org.springframework.retry.annotation.EnableRetry;
|
|
|
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 启动程序
|
|
|
|
|
*
|
|
|
|
|
* @author lch
|
|
|
|
|
*/
|
|
|
|
|
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, MongoAutoConfiguration.class},scanBasePackages = {"org.jeecg.modules.jmreport", "com.shkj"})
|
|
|
|
|
//@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class, MongoAutoConfiguration.class},scanBasePackages = {"org.jeecg.modules.jmreport", "com.shkj"})
|
|
|
|
|
@EnableAsync
|
|
|
|
|
@EnableRetry
|
|
|
|
|
public class ShkjApplication {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
// System.setProperty("spring.devtools.restart.enabled", "false");
|
|
|
|
|
SpringApplication.run(ShkjApplication.class, args);
|
|
|
|
|
System.out.println("启动成功");
|
|
|
|
|
}
|
|
|
|
|
}
|