java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException

AppFuse JIRA | Jack Hung | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I did a ant install in extra/jsf and then in extra/maven. I've to added the dependence for myfaces.jar, myfaces-jsf-api.jar (version 1.0.9, they are missing in project.xml). * I'm not familier with myfaces, do I need myfaces-impl.jar ? * I'm not sure about myfaces-components.jar, I could not find it, i deal with it when i get to the UI test * I'v to change net.sourceforge.myfaces.webapp.StartupServletContextListener to org.apache.myfaces ... But I got the following exception, am I missing something? [junit] Running org.appfuse.web.UserListTest [junit] WARN - Configurator.configure(126) | No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/home/jack/.maven/repository/ehcache/jars/ehcache-1.1.jar!/ehcache-failsafe.xml [junit] Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException [junit] at org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfigurator.java:224) [junit] at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:201) [junit] at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:105) [junit] at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:88) [junit] at org.appfuse.web.BasePageTestCase.performFacesContextConfig(BasePageTestCase.java:59) [junit] at org.appfuse.web.BasePageTestCase.<clinit>(BasePageTestCase.java:51) [junit] at java.lang.Class.forName0(Native Method) [junit] at java.lang.Class.forName(Class.java:141) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:237) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:210) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:532) [junit] [ERROR] TEST org.appfuse.web.UserListTest FAILED

    AppFuse JIRA | 1 decade ago | Jack Hung
    java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
  2. 0

    I did a ant install in extra/jsf and then in extra/maven. I've to added the dependence for myfaces.jar, myfaces-jsf-api.jar (version 1.0.9, they are missing in project.xml). * I'm not familier with myfaces, do I need myfaces-impl.jar ? * I'm not sure about myfaces-components.jar, I could not find it, i deal with it when i get to the UI test * I'v to change net.sourceforge.myfaces.webapp.StartupServletContextListener to org.apache.myfaces ... But I got the following exception, am I missing something? [junit] Running org.appfuse.web.UserListTest [junit] WARN - Configurator.configure(126) | No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/home/jack/.maven/repository/ehcache/jars/ehcache-1.1.jar!/ehcache-failsafe.xml [junit] Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException [junit] at org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfigurator.java:224) [junit] at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:201) [junit] at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:105) [junit] at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:88) [junit] at org.appfuse.web.BasePageTestCase.performFacesContextConfig(BasePageTestCase.java:59) [junit] at org.appfuse.web.BasePageTestCase.<clinit>(BasePageTestCase.java:51) [junit] at java.lang.Class.forName0(Native Method) [junit] at java.lang.Class.forName(Class.java:141) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:237) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:210) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:532) [junit] [ERROR] TEST org.appfuse.web.UserListTest FAILED

    AppFuse JIRA | 1 decade ago | Jack Hung
    java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
  3. 0

    Tomcat 4.1 not responding to JSF (Exception sending context initialized..)

    Oracle Community | 1 decade ago | 843842
    java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoClassFoundError

    Coderanch | 1 decade ago | Joe Jose
    java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
  6. 0

    JSF and OSGi with Spring DM

    Google Groups | 9 years ago | Thomas Joseph
    java.lang.NoClassDefFoundError: javax/faces/FacesException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      javax/servlet/jsp/el/ELException

      at org.apache.myfaces.config.FacesConfigurator.feedStandardConfig()
    2. Impl
      StartupServletContextListener.contextInitialized
      1. org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfigurator.java:224)
      2. org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:201)
      3. org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:105)
      4. org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:88)
      4 frames
    3. org.appfuse.web
      BasePageTestCase.<clinit>
      1. org.appfuse.web.BasePageTestCase.performFacesContextConfig(BasePageTestCase.java:59)
      2. org.appfuse.web.BasePageTestCase.<clinit>(BasePageTestCase.java:51)
      2 frames
    4. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:141)
      2 frames
    5. Apache Ant + JUnit
      JUnitTestRunner.main
      1. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:237)
      2. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:210)
      3. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:532)[ERROR]
      3 frames