3 Replies Latest reply on Jul 16, 2006 11:30 PM by Ashutosh Maheshwari


    Ashutosh Maheshwari Newbie

      Hi Forum,
      I am using java reflect API to create a instance of a class

      Class classDefinition = Class.forName(className);
      object = classDefinition.newInstance();

      my War File structure

      i am creating a instance of a class efg in class abc.But during runtime i am promted with the exception "java.lang.ClassNotFoundException" while creating instance.

      Any Idea what may be wrong?