You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Guto <gu...@leucotron.com.br> on 2007/07/26 23:26:02 UTC
Problem "java.lang.NoClassDefFoundError: javax/el/ELResolver"
Hi,
When I run tomcat this problem happens.
Could you help me?
Thanks
Guto
SEVERE: Exception sending context initialized event to listener instance
of class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.NoClassDefFoundError: javax/el/ELResolver
These are my tomcat library:
* commons-el
* jasper-compiler-jdt
* jasper-compiler
* jasper-runtime
* jsp-api
* naming-factory-dbcp
* naming-factory
* naming-resources
* servlet-api
These are my MyFaces library:
* commons-beanutils-1.7.0
* commons-codec-1.3
* commons-collections-3.2
* commons-digester-1.8
* commons-discovery-0.4
* commons-logging-1.1
* myfaces-api-1.2.0
* myfaces-impl-1.2.0
* tomahawk-1.1.6
Tomcat version: 5.5.12
Re: Problem "java.lang.NoClassDefFoundError: javax/el/ELResolver"
Posted by Matthias Wessendorf <ma...@apache.org>.
hi tomcat 5.x doesn't impl. JSP 2.1 (which contains javax.el.***)
in tomcat 6, it is the case.
check werner's ZIPPY with the right jsft / standard jars
and ensure, you have servler 2.5 / JSP 2.1
-M
On 7/26/07, Guto <gu...@leucotron.com.br> wrote:
> Hi,
>
> When I run tomcat this problem happens.
> Could you help me?
>
> Thanks
>
>
> Guto
>
>
>
> SEVERE: Exception sending context initialized event to listener instance
> of class org.apache.myfaces.webapp.StartupServletContextListener
> java.lang.NoClassDefFoundError: javax/el/ELResolver
>
> These are my tomcat library:
>
> * commons-el
> * jasper-compiler-jdt
> * jasper-compiler
> * jasper-runtime
> * jsp-api
> * naming-factory-dbcp
> * naming-factory
> * naming-resources
> * servlet-api
>
> These are my MyFaces library:
>
> * commons-beanutils-1.7.0
> * commons-codec-1.3
> * commons-collections-3.2
> * commons-digester-1.8
> * commons-discovery-0.4
> * commons-logging-1.1
> * myfaces-api-1.2.0
> * myfaces-impl-1.2.0
> * tomahawk-1.1.6
>
> Tomcat version: 5.5.12
>
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org
Re: Problem "java.lang.NoClassDefFoundError: javax/el/ELResolver"
Posted by Matthias Wessendorf <ma...@apache.org>.
you need servlet 2.5 / jsp 2.1
On 7/27/07, Pawel.Czerwinski@anicasystem.com.pl
<Pa...@anicasystem.com.pl> wrote:
>
> Hi,
> I'm facing quite similar problems. For few days I'm trying to fire up my
> application using myfaces 1.2.0 and tomahawk 1.6 but I just cannot mange it.
> I had the same problem that you have, but I took the jar files from
> thehttp://people.apache.org/~werpu/myfaces12custom.zip
> package, delivered by Werner Putz today. Since I've replaced the jars I have
> no problems with ELResolver, however another problem with
> StartupServletContextListener has come out, which is:
>
> ERROR [main] (StandardContext.java:3673) - Exception sending context
> initialized event to listener instance of class
> org.apache.myfaces.webapp.StartupServletContextListener
> java.lang.AbstractMethodError:
> javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
> at
> org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces(DefaultFacesInitializer.java:102)
> at
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:57)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> at
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)
> at
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)
> at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
> at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
> at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> at
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
> at
> org.apache.catalina.startup.Catalina.start(Catalina.java:537)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
> at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
>
>
> I'm also running Tomcat 5.5 and I guess I need some help too :]
>
> --
> Regards
> Paweł Czerwiński
>
>
>
>
> Hi,
>
> When I run tomcat this problem happens.
> Could you help me?
>
> Thanks
>
>
> Guto
>
>
>
> SEVERE: Exception sending context initialized event to listener instance
> of class
> org.apache.myfaces.webapp.StartupServletContextListener
> java.lang.NoClassDefFoundError: javax/el/ELResolver
>
> These are my tomcat library:
>
> * commons-el
> * jasper-compiler-jdt
> * jasper-compiler
> * jasper-runtime
> * jsp-api
> * naming-factory-dbcp
> * naming-factory
> * naming-resources
> * servlet-api
>
> These are my MyFaces library:
>
> * commons-beanutils-1.7.0
> * commons-codec-1.3
> * commons-collections-3.2
> * commons-digester-1.8
> * commons-discovery-0.4
> * commons-logging-1.1
> * myfaces-api-1.2.0
> * myfaces-impl-1.2.0
> * tomahawk-1.1.6
>
> Tomcat version: 5.5.12
>
>
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org
Re: Problem "java.lang.NoClassDefFoundError: javax/el/ELResolver"
Posted by Svilen Ivanov <sv...@sirma.bg>.
You need tomcat 6.x.
Pawel.Czerwinski@anicasystem.com.pl wrote:
> Hi,
> I'm facing quite similar problems. For few days I'm trying to fire up my
> application using myfaces 1.2.0 and tomahawk 1.6 but I just cannot mange
> it. I had the same problem that you have, but I took the jar files from
> thehttp://people.apache.org/~werpu/myfaces12custom.zip package, delivered
> by Werner Putz today. Since I've replaced the jars I have no problems with
> ELResolver, however another problem with StartupServletContextListener has
> come out, which is:
>
> ERROR [main] (StandardContext.java:3673) - Exception sending context
> initialized event to listener instance of class
> org.apache.myfaces.webapp.StartupServletContextListener
> java.lang.AbstractMethodError:
> javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
> at
> org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces(DefaultFacesInitializer.java:102)
> at
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:57)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> at
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)
> at
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)
> at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
> at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
> at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> at
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
>
>
> I'm also running Tomcat 5.5 and I guess I need some help too :]
>
Re: Problem "java.lang.NoClassDefFoundError: javax/el/ELResolver"
Posted by Pa...@anicasystem.com.pl.
Hi,
I'm facing quite similar problems. For few days I'm trying to fire up my
application using myfaces 1.2.0 and tomahawk 1.6 but I just cannot mange
it. I had the same problem that you have, but I took the jar files from
thehttp://people.apache.org/~werpu/myfaces12custom.zip package, delivered
by Werner Putz today. Since I've replaced the jars I have no problems with
ELResolver, however another problem with StartupServletContextListener has
come out, which is:
ERROR [main] (StandardContext.java:3673) - Exception sending context
initialized event to listener instance of class
org.apache.myfaces.webapp.StartupServletContextListener
java.lang.AbstractMethodError:
javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
at
org.apache.myfaces.webapp.DefaultFacesInitializer.initFaces(DefaultFacesInitializer.java:102)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:57)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)
at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
I'm also running Tomcat 5.5 and I guess I need some help too :]
--
Regards
Paweł Czerwiński
Hi,
When I run tomcat this problem happens.
Could you help me?
Thanks
Guto
SEVERE: Exception sending context initialized event to listener instance
of class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.NoClassDefFoundError: javax/el/ELResolver
These are my tomcat library:
* commons-el
* jasper-compiler-jdt
* jasper-compiler
* jasper-runtime
* jsp-api
* naming-factory-dbcp
* naming-factory
* naming-resources
* servlet-api
These are my MyFaces library:
* commons-beanutils-1.7.0
* commons-codec-1.3
* commons-collections-3.2
* commons-digester-1.8
* commons-discovery-0.4
* commons-logging-1.1
* myfaces-api-1.2.0
* myfaces-impl-1.2.0
* tomahawk-1.1.6
Tomcat version: 5.5.12