cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: ClassNotFoundException
Date Sat, 12 Aug 2000 15:51:39 GMT
Ricardo Rocha <> wrote:
>The ClassNotFoundException is thrown after compilation fails
>for the generated Java source file. This may be caused by
>the generated source file being empty. An empty file can
>result from failed code generation.

This seems like a bug. Better error messages should be provided.

I suggest checking for an empty source file before compilation, and throwing 
an exception with a message a bit like this:

>Verify your XSP page has a root <xsp:page> element and that
>the XSP namespace uri (
>is correctly declared in this root element. Also, make sure
>there's only one "root element" inside <xsp:page>.

Robin Green
i-tao Ltd.
4 Skyline Village
London E14 9TS
United Kingdom
Phone +44 20 7537 2233  Fax +44 70 8081 5118

Get Your Private, Free E-mail from MSN Hotmail at

View raw message