ClassNotFoundException is a checked exception in Java that occurs when an application tries to load a class through its fully qualified name, but the class could not be found. The class could be missing in the classpath, or it could have been compiled with a different version of the Java SDK than the one being used by the application.
There are several ways to solve ClassNotFoundException:
If you have verified all of these things and the java exception still persists, you may need to recompile the class and its dependencies.