[jboss-user] [JBoss Seam] - seam/jboss/richfaces classloading problems

schmod54 do-not-reply at jboss.com
Wed Aug 1 13:24:56 EDT 2007


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!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069749#4069749

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069749



More information about the jboss-user mailing list