dataease-dm/backend/src/main/java/io/dataease/Application.java

24 lines
976 B
Java
Raw Normal View History

2021-02-20 10:07:25 +08:00
package io.dataease;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.ldap.LdapAutoConfiguration;
import org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
2021-03-08 18:19:57 +08:00
import org.springframework.cache.annotation.EnableCaching;
2021-02-20 10:07:25 +08:00
import org.springframework.context.annotation.PropertySource;
import org.springframework.scheduling.annotation.EnableScheduling;
2021-03-08 18:19:57 +08:00
@EnableCaching
2021-02-20 10:07:25 +08:00
@SpringBootApplication(exclude = {
QuartzAutoConfiguration.class,
LdapAutoConfiguration.class
})
@ServletComponentScan
@EnableScheduling
@PropertySource(value = {"file:/opt/dataease/conf/dataease.properties"}, encoding = "UTF-8", ignoreResourceNotFound = true)
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}