OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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@mindspring.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




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]