NoClassDefFoundError

The NoClassDefFoundError is an error that occurs when the file with the class containing the main() method cannot be found.

Contributors

Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.

Learn Java on Codecademy