0 Replies Latest reply on Jul 15, 2004 3:45 PM by Konstantin Pupkov

    how to load custom class

    Konstantin Pupkov Newbie

      Hello everybody!
      I want to load some class B. Class B extends class A. Class A placed in xxx.jar.
      If i try Class.forName("B",true,myClassLoader)
      I've got an Exception ClassNotFound "A".

      This is happened inside onMessage() method of some MDB.

      Help me please to understand how I can load custom classes?