5 Replies Latest reply on Oct 19, 2007 5:02 PM by Mark Coffin

    noob Help needed with Chapter 3 of the developers guide

    Rory Marquis Newbie

      Hi all you RichFacers out there,

      I am trying to create the example from Chapter 3 of the developers guide:

      The first thing I did was to add the missing taglib at the top of the echo.jsp source

      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>

      I was originally using JSF 1.1, but have found that I need the more upto date Apache Commons libraries. So I have copied them into the WEB-INF/lib directories, and I was able to deploy the application to Tomcat 5.5.17. Because the live demo uses 1.2, i have changed to use all the same libraries too.

      Except I keep getting a
      NoClassDefFoundError for javax/servlet/jsp/tagext/JspIdConsumer

      I already have the "live" demo running in my Tomcat 5.5.17 instance, so I know it works.

      So I changed the echo.jsp to an echo.xhtml, with the correct syntax, and faces-config.xml elements. And it WORKS... hooray.

      So how come it doesn't work when its a regular JSP?

      Any help, ideas, suggestions would be VERY wel received.

      Many thanks