forked from github/dataease
23 lines
903 B
Java
23 lines
903 B
Java
|
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;
|
||
|
import org.springframework.context.annotation.PropertySource;
|
||
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
||
|
|
||
|
@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);
|
||
|
}
|
||
|
}
|