myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ying lcs" <ying...@gmail.com>
Subject Re: Trying to run myfaces with Tomcat 4.1
Date Fri, 10 Nov 2006 23:54:23 GMT
Thanks, can you please tell me where I can find jsp-api-2.0.jar and jsp-2.0.jar?

I can't find it here:
http://www.ibiblio.org/pub/packages/maven2/geronimo-spec/geronimo-spec-jsp/2.0-rc2/

On 11/10/06, Volker Weber <weber.volker@googlemail.com> wrote:
> Hi,
>
> you need additional jars in tomcat 4.1 see
> http://wiki.apache.org/myfaces/Installation_and_Configuration#head-d53320e388234e05b722a256f477dccc967d5d74
>
> on tomcat 4.1.12 it works for me with
>   commons-el-1.0.jar
> and
>   jsp-api-2.0.jar
>
> regards,
>   Volker
>
> 2006/11/9, ying lcs <yinglcs@gmail.com>:
> > Hi,
> >
> > I am trying to run myfaces with Tomcat 4.1. But I get this exception
> > "java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException"
> >
> > in this method 'org.apache.myfaces.webapp.StartupServletContextListener'.
> >
> > Can you please tell me how can I get myfaces to run on Tomcat 4.1?
> >
> > Thank you.
> >
> >
> >
> > 2006-11-09 16:14:49 StandardContext[/testproject]: 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:69)
> >         at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:52)
> >         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3321)
> >         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3675)
> >         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:776)
> >         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:759)
> >         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:537)
> >         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:662)
> >         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:324)
> >         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
> >         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216)
> >         at org.apache.commons.digester.Rule.end(Rule.java:230)
> >         at org.apache.commons.digester.Digester.endElement(Digester.java:1130)
> >         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> >         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
> > Source)
> >         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> > Source)
> >         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> > Source)
> >         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> >         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> >         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> >         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> >         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
> >         at org.apache.commons.digester.Digester.parse(Digester.java:1666)
> >         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:338)
> >         at org.apache.catalina.core.StandardHost.install(StandardHost.java:761)
> >         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:438)
> >         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:372)
> >         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:784)
> >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:330)
> >         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1155)
> >         at org.apache.catalina.core.StandardHost.start(StandardHost.java:696)
> >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1147)
> >         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:310)
> >         at org.apache.catalina.core.StandardService.start(StandardService.java:449)
> >         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2212)
> >         at org.apache.catalina.startup.Catalina.start(Catalina.java:458)
> >         at org.apache.catalina.startup.Catalina.execute(Catalina.java:345)
> >         at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
> >         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:324)
> >         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:150)
> >
> > 2006-11-09 16:14:49 Loading Spring root WebApplicationContext
> > 2006-11-09 16:14:59 StandardContext[/testproject]: Context startup
> > failed due to previous errors
> > 2006-11-09 16:14:59 StandardContext[/testproject]: Stopping
> > 2006-11-09 16:14:59 StandardContext[/testproject]: Stopping filters
> > 2006-11-09 16:14:59 StandardContext[/testproject]: Processing standard
> > container shutdown
> > 2006-11-09 16:14:59 ContextConfig[/testproject]: ContextConfig: Processing STOP
> > 2006-11-09 16:14:59 StandardContext[/testproject]: Sending application
> > stop events
> > 2006-11-09 16:14:59 Closing Spring root WebApplicationContext
> > 2006-11-09 16:14:59 StandardContext[/testproject]: Stopping complete
> >
>

Mime
View raw message