java.lang.NoClassDefFoundError: Could not initialize class Foo

GitHub | jose | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.lang.ExceptionInInitializerError from the constructor of an inner class

    GitHub | 6 months ago | jose
    java.lang.NoClassDefFoundError: Could not initialize class Foo
  2. 0

    Non fresh projects not working with fresh plugin installed

    GitHub | 9 months ago | dschmitz
    java.lang.NoClassDefFoundError: de/heikoseeberger/sbtfresh/FreshPlugin$autoImport$ at $ba3f03fc201474796b2d$.$sbtdef(/Users/schmitda/.sbt/0.13/build.sbt:2)
  3. 0

    CassandraInterpreterTest fails with java.lang.ExceptionInInitializerError

    GitHub | 3 months ago | pravin-dsilva
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.zeppelin.cassandra.CassandraInterpreterTest
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoClassDefFoundError: org/apache/chemistry/opencmis/client/api/SessionFactory

    Stack Overflow | 1 year ago | franco
    java.lang.NoClassDefFoundError: org/apache/chemistry/opencmis/client/api/SessionFactory
  6. 0

    TestCase:net.opentsdb.tsd.TestGraphHandler fail

    GitHub | 2 years ago | yangjiandan
    java.lang.NoClassDefFoundError: Could not initialize class net.opentsdb.tsd.GraphHandler

  1. tfr 1 times, last 8 months ago
5 unregistered visitors
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 Foo

    at sun.reflect.NativeMethodAccessorImpl.invoke0()
  2. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  3. Cobertura code coverage
    SaveTimer.run
    1. net.sourceforge.cobertura.coveragedata.TouchCollector.applyTouchesToSingleClassOnProjectData(TouchCollector.java:123)
    2. net.sourceforge.cobertura.coveragedata.TouchCollector.applyTouchesOnProjectData(TouchCollector.java:110)
    3. net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:272)
    4. net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:33)
    4 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame