I got two times the same library in different places of my tomcat. I removed 
one and the exception doesn't occur anymore. but a new error occured. In the 
output on the console of the conversion process appears:

(position of error unknown)java.io.UTFDataFormatException: Invalid byte 1 of 
1-byte UTF-8 sequence.

The funny thing is still, that it worked before. ;-)




> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> Gesendet: 08.04.08 12:30:51
> An: [email protected]
> Betreff: Re: ClassCast-Exception when trying fopfactory.newinstance()


> 
> Works for me. The ClassCastException doesn't make much sense as the
> AFPExtensionHandlerFactory IS an implementation of the
> ContentHandlerFactory interface. So I realy don't understand why this
> happens. The only reason I can think of is that there's is a mix of
> different, incompatible versions of fop.jar in the classpath. But I'm
> not sure how this can happen as both the interface and the
> implementation are in the same JAR file. So I'd check if your
> application classpath is clean. HTH
> 

_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066


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

Reply via email to