[Core] Fix service start default connection mongo

This commit is contained in:
qianmoQ 2023-05-09 14:31:23 +08:00
parent d23abcb769
commit 07ad13184a

View File

@ -2,12 +2,14 @@ package io.edurt.datacap.server;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import java.io.File;
@SpringBootApplication
@SpringBootApplication(exclude = {MongoAutoConfiguration.class, MongoDataAutoConfiguration.class})
@ComponentScans(value = {
@ComponentScan(value = "io.edurt.datacap.schedule")
})