diff --git a/basyx.submodelrepository/basyx.submodelrepository.component/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/component/SubmodelRepositoryComponent.java b/basyx.submodelrepository/basyx.submodelrepository.component/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/component/SubmodelRepositoryComponent.java index 11df1e623..4e7dd10fd 100644 --- a/basyx.submodelrepository/basyx.submodelrepository.component/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/component/SubmodelRepositoryComponent.java +++ b/basyx.submodelrepository/basyx.submodelrepository.component/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/component/SubmodelRepositoryComponent.java @@ -28,6 +28,8 @@ 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; /** * Creates and starts the SubmodelRepository off-shelf-component @@ -35,7 +37,9 @@ * @author schnicke * */ -@SpringBootApplication(scanBasePackages = "org.eclipse.digitaltwin.basyx") +@SpringBootApplication( + scanBasePackages = "org.eclipse.digitaltwin.basyx", + exclude = { MongoAutoConfiguration.class, MongoDataAutoConfiguration.class }) public class SubmodelRepositoryComponent { public static void main(String[] args) { SpringApplication.run(SubmodelRepositoryComponent.class, args);