Описание тега classnotfoundexception
The Java exception thrown when an application tries to load a class by name but is not able to find the class.
The Java exception thrown when an application tries to load a class by name. Usually raised by one of:
- the
forName(String)
method in classClass
- the
findSystemClass(String)
method in classClassLoader
- the
loadClass(String)
method in classClassLoader
when no definition for the class with the specified name could be found in the classpath.
Don't confuse it with /questions/tagged/noclassdeffounderror, it's a different kind of error, see the following links for more details: