org.springframework.dao.InvalidDataAccessApiUsageException: Usage of 'UserCredentials' with 'MongoClient' is no longer supported. Please use 'MongoCredential' for 'MongoClient' or just 'Mongo'.

Google Groups | Sami Ghayeni | 7 months ago
  1. 0

    [cas-user] Unable to integrate Mongo-Service-Management in CAS 4.2.0

    Google Groups | 7 months ago | Sami Ghayeni
    org.springframework.dao.InvalidDataAccessApiUsageException: Usage of 'UserCredentials' with 'MongoClient' is no longer supported. Please use 'MongoCredential' for 'MongoClient' or just 'Mongo'.
  2. 0

    [cas-user] Unable to integrate Mongo-Service-Management in CAS 4.2.0

    Google Groups | 7 months ago | Sami Ghayeni
    org.springframework.dao.InvalidDataAccessApiUsageException: Usage of 'UserCredentials' with 'MongoClient' is no longer supported. Please use 'MongoCredential' for 'MongoClient' or just 'Mongo'.
  3. 0

    [cas-user] Unable to integrate Mongo-Service-Management in CAS 4.2.0

    Google Groups | 7 months ago | Sami Ghayeni
    org.springframework.dao.InvalidDataAccessApiUsageException: Usage of 'UserCredentials' with 'MongoClient' is no longer supported. Please use 'MongoCredential' for 'MongoClient' or just 'Mongo'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [cas-user] Unable to integrate Mongo-Service-Management in CAS 4.2.0

    Google Groups | 7 months ago | Sami Ghayeni
    org.springframework.dao.InvalidDataAccessApiUsageException: Usage of 'UserCredentials' with 'MongoClient' is no longer supported. Please use 'MongoCredential' for 'MongoClient' or just 'Mongo'.
  6. 0

    [cas-user] Unable to integrate Mongo-Service-Management in CAS 4.2.0

    Google Groups | 7 months ago | Sami Ghayeni
    org.springframework.dao.InvalidDataAccessApiUsageException: Usage of 'UserCredentials' with 'MongoClient' is no longer supported. Please use 'MongoCredential' for 'MongoClient' or just 'Mongo'.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.dao.InvalidDataAccessApiUsageException

      Usage of 'UserCredentials' with 'MongoClient' is no longer supported. Please use 'MongoCredential' for 'MongoClient' or just 'Mongo'.

      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference()
    2. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
      2. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
      3. org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)
      4. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
      8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      9. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
      10. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      11. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
      12. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      13. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
      13 frames
    3. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:838)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
      2 frames
    4. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
      3 frames
    5. Glassfish Core
      LifecycleBase.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068)
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
      3 frames
    6. org.apache.catalina
      HTMLManagerServlet.doPost
      1. org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1312)
      2. org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:690)
      3. org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:216)
      3 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      2 frames
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
      4. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      5. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      5 frames
    9. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    10. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
      4. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      5. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      6. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      8. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
      9. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
      10. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      11. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
      12. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      13. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
      13 frames
    11. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
      3 frames
    12. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2 frames
    13. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame