1 Reply Latest reply on Sep 24, 2007 6:48 AM by maxandersen

    using  import org.richfaces.component.html.HtmlTabPanel

    kaviarasu

      hi im using

      rhdevstudio-win32-1.0.0.beta1

      and Copied "richfaces-api-3.1.0.jar" , "richfaces-impl-3.1.0.jar" , "richfaces-ui-3.1.0.jar" files into the "WEB-INF/lib" folder of my application which is created by using jboss-seam-2.0.0.CR1 .
      but before there is no lib folder i created and put the jar files
      then i configured the web.xml file as by adding the following code


      <context-param>
       <param-name>org.richfaces.SKIN</param-name>
       <param-value>blueSky</param-value>
       </context-param>
       <filter>
       <display-name>RichFaces Filter</display-name>
       <filter-name>richfaces</filter-name>
       <filter-class>org.ajax4jsf.Filter</filter-class>
       </filter>
       <filter-mapping>
       <filter-name>richfaces</filter-name>
       <servlet-name>Faces Servlet</servlet-name>
       <dispatcher>REQUEST</dispatcher>
       <dispatcher>FORWARD</dispatcher>
       <dispatcher>INCLUDE</dispatcher>
       </filter-mapping>



      and in my bean i imported the


      import org.richfaces.component.html.HtmlTabPanel;
      HtmlTabPanel myTabPanel = new HtmlTabPanel();
      myTabPanel.getActiveTabClass();



      everthing is working in it
      but when i built it not building and giving me error


      Caused by: java.lang.NoClassDefFoundError: Lorg/richfaces/component/html/HtmlTabPanel;
       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:547)
       at org.jboss.seam.Component.<init>(Component.java:250)
       at org.jboss.seam.Component.<init>(Component.java:214)
       at org.jboss.seam.init.Initialization.addComponent(Initialization.java:940)
       ... 94 more
      18:23:02,968 ERROR [StandardContext] Error listenerStart
      18:23:02,968 ERROR [StandardContext] Context [/finalproject] startup failed due to previous errors
      18:23:03,109 WARN [ServiceController] Problem starting service jboss.web.deployment:war=finalprojec
      t.war,id=359069193



      thank u regards
      Kaviarasu