java.lang.NoClassDefFoundError

Animal (wrong name: tutorial/Animal)

Samebug tips1

org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1396

  • via Oracle Community by 3004, 1 year ago
    Animal (wrong name: tutorial/Animal)
  • via Oracle Community by 3004, 1 year ago
    Animal (wrong name: tutorial/Animal)
  • via Coderanch by Edward Lawrence, 9 months ago
    Animal (wrong name: p kga/Animal)
  • Stack trace

    • java.lang.NoClassDefFoundError: Animal (wrong name: tutorial/Animal) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:250) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:217) at serp.util.Strings.toClass(Strings.java:149) at com.solarmetric.kodo.query.QueryImpl.toClass(QueryImpl.java:905) at com.solarmetric.kodo.query.QueryImpl.classForName(QueryImpl.java:854) at com.solarmetric.kodo.query.QueryImpl.bindClasses(QueryImpl.java:1032) at com.solarmetric.kodo.query.QueryImpl.bindVariableClasses(QueryImpl.java:1007) at com.solarmetric.kodo.query.QueryImpl.internalCompile(QueryImpl.java:471) at com.solarmetric.kodo.query.QueryImpl.executeQueryWithMap(QueryImpl.java:682) at com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:545) at com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:495) at tutorial.AnimalMaintenance.getAnimals(AnimalMaintenance.java:37) at tutorial.AnimalMaintenance.list(AnimalMaintenance.java:238) at tutorial.AnimalMaintenance.main(AnimalMaintenance.java:275)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 month ago
    6 times, 2 months ago
    2 times, 2 months ago
    Once, 7 months ago
    60 times, 7 months ago
    58 more bugmates