I have a project created in Eclipse, and I defined an interface and a class for dynamic class loading, the class is in the project directory, so I have this code in my project:
if (handlerClassName != null)
{
TypeHandler typeHandler = null;
try {
typeHandler = (TypeHandler)
(Class.forName(handlerClassName).newInstance());
but I get this exception: java.lang.ClassNotFoundException: "handlerClassName"
what should I do to make the JVM recognize the class "handlerClassName" in my project?
thanks