5 Replies Latest reply on Nov 21, 2009 9:23 AM by Piotr Sobczyk

    Does component configured by components.xml must be in main classloader?

    Piotr Sobczyk Newbie

      As in topic: Does component configured by components.xml must be in main classloader?


      It will by probably simple question for most of you but I didn't manage to find official statement in documentation nor in Seam in Action. Maybe I do something wrong, but when I'm trying to configure component from hot-deploy classloader in components.xml, I'm getting an excetpion:


      java.lang.ClassNotFoundException: No ClassLoaders found for: <hot-deploy class name>



      When this class is in main classloader, everything works fine.