java.lang.NoClassDefFoundError: Could not initialize class Foo

GitHub | jose | 4 months ago
  1. 0

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

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

    Non fresh projects not working with fresh plugin installed

    GitHub | 6 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 weeks 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

    Using Salve to solve serialization issues (in Wicket)

    Google Groups | 7 years ago | alecswan
    java.lang.NoClassDefFoundError: org/springframework/context/ ApplicationContextAware
  6. 0

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

    Stack Overflow | 11 months ago | franco
    java.lang.NoClassDefFoundError: org/apache/chemistry/opencmis/client/api/SessionFactory

  1. tfr 1 times, last 6 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