Skip to lesson

Case study: explain a class loading error

A class loading error means the JVM could not find a class or could not prepare it, and the two common kinds look almost the same. NoClassDefFoundError: Rupees means the class file is not on the class path; NoClassDefFoundError: Could not initialize class LateFeePolicy means the class was found, but its static initializer failed earlier.

Sign in to continue this lesson

Create an account to read every lesson, practise with the exercises and keep track of your progress.