I show line 149 as:

   private void feedStandardConfig() throws IOException, SAXException
   {
       InputStream stream =
ClassUtils.getResourceAsStream(STANDARD_FACES_CONFIG_RESOURCE);

I'm not sure what version of ClassUtils is in there as it's in Shared,
and shared isn't using the same version numbers.

However, the 1.1.5 version of ClassUtils contains an import of

import javax.servlet.jsp.el.ELException;

And that's probably why you need the jar..


   public static Object convertToType(Object value, Class desiredClass)
   {
       if (value == null) return null;

       try
       {
           // Use coersion implemented by JSP EL for consistency with EL
           // expressions. Additionally, it caches some of the coersions.
           return Coercions.coerce(value, desiredClass, COERCION_LOGGER);
       }
       catch (ELException e)


On 4/25/07, Frank Russo <[EMAIL PROTECTED]> wrote:


I'm getting the following exception:

2007-04-25 13:04:04 StandardContext[/HMDA]: Exception sending context
initialized event to listener instance of class
org.apache.myfaces.webapp.StartupServletContextListener
java.lang.NoClassDefFoundError:
javax/servlet/jsp/el/ELException
 at
org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfigurator.java:149)
 at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:126)
 at
org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:66)
 at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:49)

All I've done is add the myfaces jars to my web-inf/lib. I have not
configured anything. My plan is to use facelets, not jsp because of the
version of the servlet spec supported by Tomcat 4.

Why do I still need to include the jar that contains the ELException class
(I believe it's jsp-api.jar)?

Thanks...

Reply via email to