cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew <andrewm...@gmail.com>
Subject Re: HTTP Status 500 - java.lang.NoClassDefFoundError
Date Fri, 28 Jul 2006 13:53:54 GMT
Hi Reijin,
I was unable to build the jar using ant. Is there any way you could send the
jar file over to me?

regards

Andrew

On 28/07/06, Jeroen Reijn <j.reijn@hippo.nl> wrote:
>
> Hi Andrew,
>
> I think a had the same problem a couple of months ago doing a project.
> It seems your charsetFactory isn't able to find the charsets.
>
> I can remember I had to build this myself from the cocoon source.
> Within the cocoon 2.1.9 distribution
> (cocoon-2.1.9\src\blocks\serializers\charsets) is an ant build file that
> can create the jar for you. You will have to include this jar in your
> WEB-INF/lib directory of cocoon.
>
> If you are not able to create the jar please let me know.
>
> Regards,
>
> Reijn
>
>
> Bertrand Delacretaz wrote:
> > On 7/28/06, Andrew <andrewmadu@gmail.com> wrote:
> >
> >> ...root cause java.lang.NoClassDefFoundError
> >> org.apache.cocoon.components.serializers.EncodingSerializer.configure(
> EncodingSerializer.java:167)...
> >>
> >
> > Line 167 of EncodingSerializer is
> > this.charset = CharsetFactory.newInstance().getCharset(encoding);
> >
> > So it looks like it's the CharsetFactory class that's not found. Can't
> > tell you why though, it should be in the same
> > cocoon-serializers-block.jar as the others.
> >
> > -Bertrand
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

Mime
View raw message