dyc87112 / blog-comments

5 stars 1 forks source link

Spring Boot中使用MongoDB的连接池配置 | 程序猿DD #47

Open dyc87112 opened 6 years ago

dyc87112 commented 6 years ago

http://blog.didispace.com/spring-boot-mongodb-connection-pool/

cc1341 commented 6 years ago

请教一个问题哈,我连mongodb的时候报错Caused by: java.lang.NoSuchMethodError: org.springframework.core.convert.support.ConversionServiceFactory.createDefaultConversionService()Lorg/springframework/core/convert/support/GenericConversionService; mongodb的版本是

org.springframework.data
        <artifactId>spring-data-mongodb</artifactId>
        <version>1.5.2.RELEASE</version>
    </dependency>

springboot版本是1.5.13.RELEASE,请问为什么

SpringStudent commented 5 years ago

配置项目database 与authenticationDatabase 啥关系