tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiroshi Iwatani <HGA03...@nifty.ne.jp>
Subject Re: JSF Newbie
Date Sat, 24 Jul 2004 09:58:15 GMT
Here's the solution from Hans Bergsten:

<quote>
> Hiroshi,
> 
>> I recommended your book at the Tomcat mailing list:
>>
>> <quote>
>> Try this:
>> http://www.hansbergsten.com/downloadjsf.jsp
>>
>> This is perfect and easy to use.
> 
> 
> Thanks, but the problem this guy describes has nothing to do with
> JSF, actually. Most likely he has an old version of the JSP JAR
> file in the "standard extensions" directory, typically
> JAVA_HOME/jre/ext. JAR files from this directory overrides all others,
> so he's not picking up the later JSP version bundled with Tomcat 5.
> That's why he get the exception.
> 
> Hans
</quote>

Younes El Moumen wrote:
> Hi,
> 
> I'm using Tomcat 5.0.27
> J2sdk 1.4.2_04
> jsf1_1
> I'm Trying to use JSF, I've tried many Tutorials examples and installed many Tomcat Versions
but i become every Time the same error can anybody help me?
> 
> Thanks.
> 
> StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw
exception
> java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
> 	at org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:568)
> 	at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:401)
> 	at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
> 	at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:179)
> 	at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
> 	at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
> 	at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
> 	at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> 	at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
> 	at org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
> 	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
> 	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
> 	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
> 	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
> 	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
> 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
> 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
> 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
> 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
> 	at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
> 	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
> 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
> 	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
> 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> 	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	at java.lang.Thread.run(Thread.java:534)
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

-- 
Hiroshi Iwatani

*stop cruelty* Annual number of institutionally euthanized cats and dogs 
including kittens and puppies: US 5 million, JP 500 thousand. How about your 
country? *for our better karma*
---------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message