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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Jack Hung,
  • 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
    via by Jack Hung,
  • NoClassFoundError
    via by Joe Jose,
  • JSF and OSGi with Spring DM
    via by Thomas Joseph,
  • Please help me
    via by 843844,
    • java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException at org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfigurator.java:224) at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:201) at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:105) at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:88) at org.appfuse.web.BasePageTestCase.performFacesContextConfig(BasePageTestCase.java:59) at org.appfuse.web.BasePageTestCase.<clinit>(BasePageTestCase.java:51) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:237) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:210) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:532)[ERROR]
    No Bugmate found.