cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject RE: [HELP]Exception JspGenerator.generate()
Date Tue, 19 Mar 2002 17:02:53 GMT
> -----Original Message-----
> From: laou@ifrance.com [mailto:laou@ifrance.com] 
> Sent: Tuesday, March 19, 2002 7:54 PM
> To: cocoon-users@xml.apache.org
> Cc: laou@ifrance.com
> Subject: [HELP]Exception JspGenerator.generate()
> 
> 
> Description:org.apache.cocoon.ProcessingException: Exception
> JspGenerator.generate(): java.lang.ClassNotFoundException: 
> org.apache.jasper.servlet.JspServlet

Try to copy jasper.jar to cocoon/WEB-INF/lib. This usually helps.

--
Konstantin Piroumian 
kpiroumian@flagship.ru

> 
> Hi,
> 
> I am trying to produce XML out of using JSP with Cocoon 2 and 
> JspGenerator. It works with tomcat 3.2 but when i try to do 
> this with visual age, i have the following error : 
> Original exception : java.lang.ClassNotFoundException: 
> org.apache.jasper.servlet.JspServlet 
> java.lang.Throwable(java.lang.String) 
> java.lang.Exception(java.lang.String) 
> java.lang.ClassNotFoundException(java.lang.String) 
> java.lang.Class java.net.URLClassLoader.findClass(java.lang.String) 
> java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String,
> boolean) 
> java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) 
> byte [] 
> org.apache.cocoon.components.jsp.JSPEngineImpl.executeJSP(java
> .lang.Stri
> ng, javax.servlet.http.HttpServletRequest,
> javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext) 
> void org.apache.cocoon.generation.JspGenerator.generate() 
> boolean 
> org.apache.cocoon.components.pipeline.CachingEventPipeline.pro
> cess(org.a
> pache.cocoon.environment.Environment) 
> boolean 
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.pr
> ocess(org.
> apache.cocoon.environment.Environment) 
> boolean 
> org.apache.cocoon.www.sitemap_xmap.matchN10452(org.apache.coco
> on.sitemap
> .SitemapRedirector, org.apache.cocoon.environment.Environment,
> org.apache.cocoon.components.pipeline.StreamPipeline,
> org.apache.cocoon.components.pipeline.EventPipeline, boolean,
> java.util.List) 
> boolean 
> org.apache.cocoon.www.sitemap_xmap.process(org.apache.cocoon.e
> nvironment
> .Environment, org.apache.cocoon.components.pipeline.StreamPipeline,
> org.apache.cocoon.components.pipeline.EventPipeline, boolean) 
> boolean 
> org.apache.cocoon.www.sitemap_xmap.process(org.apache.cocoon.e
> nvironment
> .Environment) 
> boolean 
> org.apache.cocoon.sitemap.Handler.process(org.apache.cocoon.en
> vironment.
> Environment) 
> boolean 
> org.apache.cocoon.sitemap.Manager.invoke(org.apache.avalon.fra
> mework.com
> ponent.ComponentManager, org.apache.cocoon.environment.Environment,
> java.lang.String, java.lang.String, boolean, boolean) 
> boolean 
> org.apache.cocoon.sitemap.SitemapManager.process(org.apache.co
> coon.envir
> onment.Environment) 
> boolean 
> org.apache.cocoon.Cocoon.process(org.apache.cocoon.environment
> .Environme
> nt) 
> void 
> org.apache.cocoon.servlet.CocoonServlet.service(javax.servlet.
> http.HttpS
> ervletRequest, javax.servlet.http.HttpServletResponse) 
> void 
> javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
> javax.servlet.ServletResponse) 
> void 
> org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache
> .tomcat.co
> re.Request, org.apache.tomcat.core.Response) 
> void 
> org.apache.tomcat.core.ContextManager.service(org.apache.tomca
> t.core.Req
> uest, org.apache.tomcat.core.Response) 
> void 
> org.apache.tomcat.service.http.HttpConnectionHandler.processCo
> nnection(o
> rg.apache.tomcat.service.TcpConnection, java.lang.Object []) 
> void org.apache.tomcat.service.TcpConnectionThread.run() 
> void java.lang.Thread.run() 
> 
> after a hard  work, i installed the library in Visual age 
> without success. Now i just the servlet.jar, webserver.jar, 
> xml.jar, xml-apis.jar, jasper.jar in the library of tomcat 
> 3.2 and the other jar are in the webapps of cocoon (Cf. cocoon.war 2)
> 
> Thanks in advance for any advice!
> Loic Gourmelon 
> 
> 
>  
> ______________________________________________________________
> ________________
> ifrance.com, l'email gratuit le plus complet de l'Internet ! 
> vos emails depuis un navigateur, en POP3, sur Minitel, sur le 
> WAP... http://www.ifrance.com/_reloc/email.emailif
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered 
> in the FAQ before posting. 
<http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message