33 lines
1.1 KiB
Java
33 lines
1.1 KiB
Java
|
package com.ff;
|
||
|
|
||
|
import org.springframework.boot.SpringApplication;
|
||
|
import org.springframework.boot.SpringBootVersion;
|
||
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||
|
import org.springframework.context.annotation.ComponentScan;
|
||
|
import org.springframework.context.annotation.FilterType;
|
||
|
import org.springframework.scheduling.annotation.EnableAsync;
|
||
|
import org.springframework.security.authentication.dao.DaoAuthenticationProvider;
|
||
|
|
||
|
/**
|
||
|
* 启动程序
|
||
|
*
|
||
|
* @author ff
|
||
|
*/
|
||
|
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
|
||
|
@ComponentScan(excludeFilters = {@ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, value = DaoAuthenticationProvider.class)})
|
||
|
@EnableAsync
|
||
|
public class FFApplication {
|
||
|
|
||
|
|
||
|
public static void main(String[] args) {
|
||
|
// System.setProperty("spring.devtools.restart.enabled", "false");
|
||
|
SpringApplication.run(FFApplication.class, args);
|
||
|
System.out.println("(♥◠‿◠)ノ゙ FF启动成功 ლ(´ڡ`ლ)゙" + SpringBootVersion.getVersion());
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|