26 lines
594 B
Java
26 lines
594 B
Java
package com.knowledge.base;
|
|
|
|
import org.bouncycastle.jce.provider.BouncyCastleProvider;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
import java.security.Security;
|
|
|
|
/**
|
|
* @author Luke.ye
|
|
*/
|
|
@EnableScheduling
|
|
@SpringBootApplication
|
|
public class KnowledgeBaseApplication {
|
|
|
|
static {
|
|
Security.addProvider(new BouncyCastleProvider());
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(KnowledgeBaseApplication.class, args);
|
|
}
|
|
|
|
}
|