java.lang.NoClassDefFoundError: Could not initialize class com.google.common.cache.CacheBuilder

Stack Overflow | user1724980 | 4 years ago
  1. 0

    Deploying new version (com.google.common.cache.CacheBuilder)

    Stack Overflow | 4 years ago | user1724980
    java.lang.NoClassDefFoundError: Could not initialize class com.google.common.cache.CacheBuilder
  2. 0

    Query through Shark API not working

    Stack Overflow | 3 years ago | Radu C.
    java.lang.NoClassDefFoundError: Could not initialize class com.google.common.cache.CacheBuilder at org.apache.hadoop.hdfs.DomainSocketFactory.<init>(DomainSocketFactory.java:46) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:456) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:410)
  3. 0

    maven repo and 5.0-X version

    Google Groups | 2 years ago | Zsolt Kúti
    java.lang.NoClassDefFoundError: Could not initialize class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoClassDefFoundError while creating mock object in java

    Stack Overflow | 7 months ago | Manas Kantha
    java.lang.NoClassDefFoundError: Could not initialize class
  6. 0

    External Properties file and classpath

    Oracle Community | 6 years ago | 393585
    java.lang.NoClassDefFoundError: Could not initialize class

    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. java.lang.NoClassDefFoundError

      Could not initialize class com.google.common.cache.CacheBuilder

      at com.google.common.eventbus.EventBus.<init>()
    2. Guava
      EventBus.<init>
      1. com.google.common.eventbus.EventBus.<init>(EventBus.java:158)
      1 frame
    3. com.riparauto.server
      RestGuiceConfig.<init>
      1. com.riparauto.server.guice.RestGuiceConfig.<init>(RestGuiceConfig.java:61)
      1 frame
    4. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:532)
      5. java.lang.Class.newInstance0(Class.java:372)
      6. java.lang.Class.newInstance(Class.java:325)
      6 frames
    5. Jetty Server
      WebAppContext.doStart
      1. org.mortbay.jetty.webapp.WebXmlConfiguration.newListenerInstance(WebXmlConfiguration.java:650)
      2. org.mortbay.jetty.webapp.WebXmlConfiguration.initListener(WebXmlConfiguration.java:631)
      3. org.mortbay.jetty.webapp.WebXmlConfiguration.initWebXmlElement(WebXmlConfiguration.java:368)
      4. org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:289)
      5. org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfiguration.java:222)
      6. org.mortbay.jetty.webapp.WebXmlConfiguration.configureWebApp(WebXmlConfiguration.java:180)
      7. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1247)
      8. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
      9. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
      9 frames
    6. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    7. com.google.apphosting
      JettyServletEngineAdapter.serviceRequest
      1. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:219)
      2. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:194)
      3. com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:134)
      3 frames
    8. appengine-managed-runtime
      JavaRuntime$RequestRunnable.run
      1. com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:447)
      1 frame
    9. Google tracing
      TraceContext$TraceContextRunnable.run
      1. com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:452)
      2. com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:459)
      3. com.google.tracing.TraceContext.runInContext(TraceContext.java:701)
      4. com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:336)
      5. com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:328)
      6. com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:456)
      6 frames
    10. appengine-managed-runtime
      ThreadGroupPool$PoolEntry.run
      1. com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:251)
      1 frame
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:679)
      1 frame