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
I only use Word2003 and save the file as an xml. The xml-file-encoding ist
UTF-8.
-Ursprüngliche Nachricht-
Von: fop-users@xmlgraphics.apache.org
Gesendet: 08.04.08 12:55:50
An: fop-users@xmlgraphics.apache.org
Betreff: Re: ClassCast-Exception when trying fopfactory.newinstance()
Andreas Schröder wrote:
I only use Word2003 and save the file as an xml. The xml-file-encoding ist
UTF-8.
-Ursprüngliche Nachricht-
Von: fop-users@xmlgraphics.apache.org
Gesendet: 08.04.08 12:55:50
An: fop-users@xmlgraphics.apache.org
Betreff: Re: ClassCast-Exception
I get a ClassCastException if I try to make an instance with
FopFactory.newInstance(). It already used to work but now doesn't any more
while I made no changes to the class.
I type an excerpt from the StackTrace:
cce: org.apache.fop.render.afp.extensions.AFPExtensionHandlerFactory cannot be
Hello,
I configured my fop factory with the following line:
fopFactory.setFontBaseURL(file:///D:/Windows/Fonts);
But fop still uses the font 'any' instead. At the position mentioned above are
ttf files, which fit to the ones I use.
Andreas