cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Hargraves <hargrav...@csps.com>
Subject Re: Java exception whit Calendar taglib
Date Mon, 23 Oct 2000 14:22:13 GMT
Try importing the class org.apache.cocoon.contrib.calander.XSPCalendar
in your code.


LEBRETON Philippe wrote:
> 
> I want to use the calendar tablig. Mys XML file is :
> <?xml version="1.0"?>
> <?cocoon-process type="xsp"?>
> 
> <xsp:page language="java"
>  xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>  xmlns:calendar="http://www.apache.org/cocoon/contrib/calendar/v1">
> 
> <page>
> <calendar:generate-month date="2000-10-23" format="dd-MM-yyyy">
> </calendar:generate-month>
> </page>
> </xsp:page>
> 
> and the Cocoon error is :
> Error found handling the request.
> 
>       java.lang.Exception: XSP Java Compiler: Compilation failed for
> _calendar.java
>       21: Class org.apache.cocoon.contrib.calendar.XSPCalendar not
> found in import.
>             import org.apache.cocoon.contrib.calendar.XSPCalendar;
>                    ^
>       1 error
> 
> 
>               at
> org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java:141)
> 
>               at
> org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:489)
> 
>               at org.apache.cocoon.Engine.handle(Engine.java:359)
>               at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
>               at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>               at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> 
>               at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> 
>               at
> org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)
> 
>               at
> org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
> 
>               at java.lang.Thread.run(Thread.java)
> 
>     ---------------------------------------------------------------
> ---------------------------------------------------------------------
> 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