org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditListener': Cannot resolve reference to bean 'indexRequestQueue' while setting bean property 'indexRequestQueue'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexRequestQueue': Cannot resolve reference to bean 'elasticSearchClient' while setting bean property 'elasticSearchClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticSearchClient': FactoryBean threw exception on object creation; nested exception is java.lang.NoSuchMethodError: com.google.common.base.Platform.systemNanoTime()J

GitHub | rkimaoui | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error when using elasticsearch with spring-security-rest

    GitHub | 6 months ago | rkimaoui
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditListener': Cannot resolve reference to bean 'indexRequestQueue' while setting bean property 'indexRequestQueue'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexRequestQueue': Cannot resolve reference to bean 'elasticSearchClient' while setting bean property 'elasticSearchClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticSearchClient': FactoryBean threw exception on object creation; nested exception is java.lang.NoSuchMethodError: com.google.common.base.Platform.systemNanoTime()J
  2. 0

    Error when using elasticsearch with spring-security-rest

    GitHub | 6 months ago | rkimaoui
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditListener': Cannot resolve reference to bean 'indexRequestQueue' while setting bean property 'indexRequestQueue'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexRequestQueue': Cannot resolve reference to bean 'elasticSearchClient' while setting bean property 'elasticSearchClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticSearchClient': FactoryBean threw exception on object creation; nested exception is java.lang.NoSuchMethodError: com.google.common.base.Platform.systemNanoTime()J
  3. 0

    Error executing CLI after release build on develop branch

    GitHub | 2 years ago | patrickwestphal
    java.lang.NoSuchMethodError: com.google.common.base.Platform.systemNanoTime()J
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.google.common.base.Platform.systemNanoTime()J

      at com.google.common.base.Ticker$1.read()
    2. Guava
      LocalCache$LocalLoadingCache.get
      1. com.google.common.base.Ticker$1.read(Ticker.java:64)
      2. com.google.common.base.Stopwatch.elapsedNanos(Stopwatch.java:186)
      3. com.google.common.base.Stopwatch.elapsed(Stopwatch.java:201)
      4. com.google.common.cache.LocalCache$LoadingValueReference.elapsedNanos(LocalCache.java:3568)
      5. com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2361)
      6. com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2324)
      7. com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286)
      8. com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
      9. com.google.common.cache.LocalCache.get(LocalCache.java:3953)
      10. com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957)
      11. com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875)
      11 frames
    3. ElasticSearch
      TransportClient$Builder$build$0.call
      1. org.elasticsearch.common.inject.internal.FailableCache.get(FailableCache.java:51)
      2. org.elasticsearch.common.inject.ConstructorInjectorStore.get(ConstructorInjectorStore.java:51)
      3. org.elasticsearch.common.inject.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:50)
      4. org.elasticsearch.common.inject.InjectorImpl.initializeBinding(InjectorImpl.java:405)
      5. org.elasticsearch.common.inject.BindingProcessor$1$1.run(BindingProcessor.java:177)
      6. org.elasticsearch.common.inject.BindingProcessor.initializeBindings(BindingProcessor.java:237)
      7. org.elasticsearch.common.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:119)
      8. org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:102)
      9. org.elasticsearch.common.inject.Guice.createInjector(Guice.java:96)
      10. org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
      11. org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:46)
      12. org.elasticsearch.client.transport.TransportClient$Builder.build(TransportClient.java:160)
      13. org.elasticsearch.client.transport.TransportClient$Builder$build$0.call(Unknown Source)
      13 frames
    4. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
      3 frames
    5. grails.plugins.elasticsearch
      ClientNodeFactoryBean.getObject
      1. grails.plugins.elasticsearch.ClientNodeFactoryBean.getObject(ClientNodeFactoryBean.groovy:91)
      1 frame
    6. Spring Beans
      FactoryBeanRegistrySupport.doGetObjectFromFactoryBean
      1. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
      1 frame