java.lang.NoClassDefFoundError: Animal (wrong name: tutorial/Animal)

Oracle Community | 3004 | 1 decade 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

    Tutorial problem with Schema tool.

    Oracle Community | 1 decade ago | 3004
    java.lang.NoClassDefFoundError: Animal (wrong name: tutorial/Animal)
  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

    Kodo 2.5.3 issue with Chap5 tutorial

    Oracle Community | 1 decade ago | 3004
    java.lang.NoClassDefFoundError: Animal (wrong name: tutorial/Animal)

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

    Animal (wrong name: tutorial/Animal)

    at java.lang.ClassLoader.defineClass0()
  2. Java RT
    Class.forName
    1. java.lang.ClassLoader.defineClass0(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:502)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:54)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:193)
    7. java.security.AccessController.doPrivileged(Native Method)
    8. java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    9. java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    10. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    11. java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    12. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    13. java.lang.Class.forName0(Native Method)
    14. java.lang.Class.forName(Class.java:140)
    14 frames
  3. com.solarmetric.kodo
    SchemaTool.main
    1. com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.createMappings(SchemaTool.java:824)
    2. com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.refresh(SchemaTool.java:288)
    3. com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.refresh(SchemaTool.java:272)
    4. com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1317)
    5. com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1190)
    5 frames