How do I resolve ClassNotFoundException?
A classpath is a list of locations to load classes from. These ‘locations’ can either be directories, or jar files. For directories, the JVM will follow an expected pattern for loading a class. If I have the directory C:/myproject/classes in my classpath, and I attempt to load a class com.mycompany.Foo, it will look under the … Read more