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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Expert tip

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

Solutions on the web

via Oracle Community by 3004, 1 year ago
Animal (wrong name: tutorial/Animal)
via Oracle Community by 3004, 1 year ago
Article (wrong name: reversetutorial/Article)
via Oracle Community by 749374, 1 year ago
oracle/apps/fnd/cp/sample/Hello (wrong name: oracle/apps/fnd/cp/request/Hello)
via Oracle Community by 3004, 1 year ago
via Oracle Community by 3004, 1 year ago
via Coderanch by david liu, 1 year ago
welcome2 (wrong name: Welcome2)
java.lang.NoClassDefFoundError: Animal (wrong name: tutorial/Animal)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClassInternal(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at serp.util.Strings.toClass(
at com.solarmetric.kodo.query.QueryImpl.toClass(
at com.solarmetric.kodo.query.QueryImpl.classForName(
at com.solarmetric.kodo.query.QueryImpl.bindClasses(
at com.solarmetric.kodo.query.QueryImpl.bindVariableClasses(
at com.solarmetric.kodo.query.QueryImpl.internalCompile(
at com.solarmetric.kodo.query.QueryImpl.executeQueryWithMap(
at com.solarmetric.kodo.query.QueryImpl.executeWithMap(
at com.solarmetric.kodo.query.QueryImpl.execute(
at tutorial.AnimalMaintenance.getAnimals(
at tutorial.AnimalMaintenance.list(
at tutorial.AnimalMaintenance.main(

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.