import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.autoconfigure.data.mongo.MongoReactiveDataAutoConfiguration;
+import org.springframework.boot.autoconfigure.data.mongo.MongoReactiveRepositoriesAutoConfiguration;
+import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.web.reactive.config.CorsRegistry;
import org.springframework.web.reactive.config.WebFluxConfigurer;
-@SpringBootApplication
+@SpringBootApplication(exclude = {
+ MongoReactiveDataAutoConfiguration.class,
+ MongoReactiveRepositoriesAutoConfiguration.class,
+ MongoAutoConfiguration.class })
public class ChatBackendApplication implements WebFluxConfigurer
{
@Autowired