Hi Jörg,
I have had, as best as I am able to, a look at what could be causing this
problem but have not found anything. I downloaded a version of the jar at
the link you provided and this as well yielded no change.

Any ideas?

--
Regards

Andrew

On 11/03/07, Joerg Heinicke <[EMAIL PROTECTED]> wrote:

On 11.03.2007 13:02, Andrew Madu wrote:

> java.lang.NoClassDefFoundError: Could not initialize class
> org.apache.cocoon.components.serializers.encoding.CharsetFactory
>
org.apache.cocoon.components.serializers.EncodingSerializer.configure(
EncodingSerializer.java:168)

From what I understand it is not a problem of finding the
CharsetFactory, but of loading and initializing it. CharsetFactory holds
a static instance of itself [1, line 44]. As the instantiation happens
on loading the class, an exception during the instantiation might lead
to the exception stacktrace you have. Best would be to do remote
debugging so that you can see where exactly it fails on loading
CharsetFactory.

Jörg

[1]

http://svn.apache.org/viewvc/cocoon/tags/cocoon-2.1/RELEASE_2_1_10/src/blocks/serializers/java/org/apache/cocoon/components/serializers/encoding/CharsetFactory.java?annotate=506006

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to