java.lang.NoClassDefFoundError: com/foo/a

Coderanch | Meir Yan | 9 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola , poroszd and rafael . Or join the community to write better ones.
  1. 0

    Why Class.forName does not work when calling from jar file

    Coderanch | 9 years ago | Meir Yan
    java.lang.NoClassDefFoundError: com/foo/a
  2. 0
    samebug tip
    org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar
  3. 0
    samebug tip
    Upgrade play-plugins-redis to play-modules-redis. You may have to delete com.typesafe.plugin.RedisPlugin from play.plugins
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    You might have to readd your libraries if you just upgraded intelliJ. Try readding the netty library to the SDK.
    via GitHub by EBatTiVo
  6. 0

    androidTestCompile runtime dependency doesn't work on android 5.0+

    Stack Overflow | 3 months ago | deathangel908
    java.lang.NoClassDefFoundError: com.mysql.jdbc.jdbc2.optional.MysqlDataSource

  1. johnxfly 3 times, last 3 weeks ago
  2. jf-ast 1 times, last 2 months ago
  3. jokester 2 times, last 4 months ago
  4. andyglick 1 times, last 4 months ago
  5. rlovtangen 2 times, last 5 months ago
9 more registered users
86 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

    com/foo/a

    at java.lang.Class.forName0()
  2. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:164)
    2 frames
  3. Unknown
    RunReflect.main
    1. RunReflect.main(RunReflect.java:10)
    1 frame