This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: missing some java classes running FOP
- From: Jeff Beal <jeff dot beal at ansys dot com>
- To: "'Robert P. J. Day'" <rpjday at mindspring dot com>,docbook apps list <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 06 Mar 2003 08:49:57 -0500
- Subject: RE: DOCBOOK-APPS: missing some java classes running FOP
The first error (unknown formatting object
http://www.tug.org/fotex^bookmark) indicates that you have
passivetex.extensions turned on. I don't see why this would trigger the
NoClassDefFoundError for the class in question, but it might. The class
it's not finding is part of the W3C DOM library, which is included as
standard in Java 1.4. FOP may have begun to assume 1.4 without telling
people.
Jeff Beal
-----Original Message-----
From: Robert P. J. Day [mailto:rpjday at mindspring dot com]
Sent: Thursday, March 06, 2003 4:49 AM
To: docbook apps list
Subject: DOCBOOK-APPS: missing some java classes running FOP
i downloaded the latest FOP from xml.apache.org, and installed
what i thought was everything i needed around it (Jimi, the newer
xalan in the endorsed/ directory and so on), but when i run FOP
to convert a .fo file to .pdf, i get:
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5rc2
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] property - "background-position-horizontal" is not implemented yet.
[ERROR] property - "background-position-vertical" is not implemented yet.
[INFO] Failed to load JAI, using Jimi instead
[ERROR] Unknown formatting object http://www.tug.org/fotex^bookmark
Exception in thread "main" java.lang.NoClassDefFoundError:
org/w3c/dom/ranges/DocumentRange
at org.apache.xerces.jaxp.DocumentBuilderImpl.newDocument(Unknown
Source)
at org.apache.fop.fo.XMLObj.createBasicDocument(XMLObj.java:112)
at
org.apache.fop.fo.UnknownXMLObj.addCharacters(UnknownXMLObj.java:79)
at
org.apache.fop.fo.FOTreeBuilder.characters(FOTreeBuilder.java:161)
at org.apache.xerces.parsers.AbstractSAXParser.characters(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.fop.apps.Driver.render(Driver.java:457)
at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69)
at org.apache.fop.apps.Fop.main(Fop.java:19)
so what have i failed to install?
rday