You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried replicating your work, but it seems not working on my end. Can you help me what is that I'm doing wrong ?
Thanks.
Below is the error Stack
2020-02-12 21:48:37.881 INFO 11634 --- [ restartedMain] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2020-02-12 21:48:37.950 INFO 11634 --- [ restartedMain] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-02-12 21:48:38.085 ERROR 11634 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of method mongoTemplate in com.sclabs.MultiTenantMongoDBTesting.MultiTenantMongoDbTestingApplication required a bean of type 'com.mongodb.Mongo' that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
The following candidates were found but could not be injected:
- Bean method 'mongo' in 'MongoAutoConfiguration' not loaded because @ConditionalOnBean (types: org.springframework.data.mongodb.MongoDbFactory; SearchStrategy: all) found beans of type 'org.springframework.data.mongodb.MongoDbFactory' multiTenantMongoDbFactory, mongoDbFactory
Action:
Consider revisiting the entries above or defining a bean of type 'com.mongodb.Mongo' in your configuration.
The text was updated successfully, but these errors were encountered:
Hi,
I tried replicating your work, but it seems not working on my end. Can you help me what is that I'm doing wrong ?
Thanks.
Below is the error Stack
The text was updated successfully, but these errors were encountered: