java.lang.NoClassDefFoundError: TestEmployee (wrong name: ca/moffit/learn/employee/TestEmployee) at java.lang.ClassLoader.defineClass() (Native Method)

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

Solutions on the web

via Oracle Community by 807592, 1 year ago
TestEmployee (wrong name: ca/moffit/learn/employee/TestEmployee) at java.lang.ClassLoader.defineClass() (Native Method)
java.lang.NoClassDefFoundError: TestEmployee (wrong name: ca/moffit/learn/employee/TestEmployee) at java.lang.ClassLoader.defineClass() (Native Method)
at java.lang.ClassLoader.defingClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

Users with the same issue

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

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