赞
踩
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of constructor in org.springframework.data.mongodb.config.MongoAuditingRegistrar$MongoMappingContextLookup required a bean of type 'org.springframework.data.mongodb.core.convert.MappingMongoConverter' that could not be found.
The following candidates were found but could not be injected:
- Bean method 'mappingMongoConverter' in 'MongoReactiveDataAutoConfiguration' not loaded because @ConditionalOnClass did not find required class 'com.mongodb.reactivestreams.client.MongoClient'
Action:
Consider revisiting the entries above or defining a bean of type 'org.springframework.data.mongodb.core.convert.MappingMongoConverter' in your configuration.
@EnableMongoAuditing //重点删除这个
@Configuration
public class MongoConfig {
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。