Reading of DBname.system.indexes failed on Atlas cluster by mongobee after getting connected

后端 未结 4 1114
感动是毒
感动是毒 2021-01-20 03:31

I have a Jhipster Spring boot project. Recently I shifted from mlabs standalone sandboxes to Atlas cluster sandbox M0 Free tier replica set. It even worked and I h

4条回答
  •  借酒劲吻你
    2021-01-20 04:04

    Caused by: java.lang.NoSuchMethodError: com.github.mongobee.dao.ChangeEntryIndexDao.(Ljava/lang/String;)V
        at com.github.mongobee.dao.ChangeEntryDao.(ChangeEntryDao.java:34)
        at com.github.mongobee.Mongobee.(Mongobee.java:87)
        at com.xxx.proj.config.DatabaseConfiguration.mongobee(DatabaseConfiguration.java:62)
        at com.xxx.proj.config.DatabaseConfiguration$$EnhancerBySpringCGLIB$$4ae465a5.CGLIB$mongobee$1()
        at com.xxx.proj.config.DatabaseConfiguration$$EnhancerBySpringCGLIB$$4ae465a5$$FastClassBySpringCGLIB$$f202afb.invoke()
        at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
        at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
        at com.xxx.proj.config.DatabaseConfiguration$$EnhancerBySpringCGLIB$$4ae465a5.mongobee()
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
        ... 22 common frames omitted
    

    jhipster 5 must be using a different version, because i get that when implementing the above code. looks like its expecting a different version.

提交回复
热议问题