0 Replies Latest reply on Feb 12, 2010 11:04 AM by Tommy Maurice

    Error Deploy When Decalre HtmlPanelMenu

    Tommy Maurice Newbie
      Hi all,

      I'm using JBoss 4.2.3, Seam 2.1.1, java 1.6.0_14 with Eclipse 3.4.2.

      When I try to declare :

      ...
      import org.richfaces.component.html.HtmlPanelMenu; (no problem here)
      ...

      @Name("simpleMenuAction")
      public class SimpleMenuAction {
                
           //error when deploying
           private HtmlPanelMenu htmlPanelMenu;
           ...
           ...     
      }


      I get exception:

      ...
      ...
      Caused by: java.lang.NoClassDefFoundError: Lorg/richfaces/component/html/HtmlPanelMenu;
           at java.lang.Class.getDeclaredFields0(Native Method)
           at java.lang.Class.privateGetDeclaredFields(Unknown Source)
           at java.lang.Class.getDeclaredFields(Unknown Source)
           at org.jboss.seam.Component.initMembers(Component.java:552)
           at org.jboss.seam.Component.<init>(Component.java:245)
           at org.jboss.seam.Component.<init>(Component.java:206)
           at org.jboss.seam.init.Initialization.addComponent(Initialization.java:1162)
           ... 92 more
      Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.richfaces.component.html.HtmlPanelMenu
           at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
           at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
           at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClassInternal(Unknown Source)
           ... 99 more



      what is the problem here?
      thx in advance.