2 Replies Latest reply on Aug 2, 2007 11:00 AM by schmod54

    seam/jboss/richfaces classloading problems

    schmod54 Newbie

      Hello. I'm a newbie to seam. I'm using seam 2.0.0.B1 and jboss 4.2.0.GA.

      I seam-genned a new project. I wanted to make my own richfaces tree... so I made a class that implements org.richfaces.component.TreeNode. Everything compiles and packages fine. But when I deploy, I get the following error:

      java.lang.NoClassDefFoundError: org/richfaces/component/TreeNode
       at java.lang.ClassLoader.defineClass1(Native Method)


      I've tried playing with jboss class loading settings, and tried moving the location of various jars between my war's lib and my ear's lib, and tried putting various combinations of jars in my server/default/lib directory, but all I've succeeded in doing is getting different types of classloader errors. Can anyone give me specific instructions on how to subclass a richfaces component in a seam-gen structure? Thanks!

      P.S. I suspect this is a problem with the embedded ejb container that seamgen made for me... do I need that container if I'm running my ear inside jboss? If not, how do I get rid of it? Thanks again!