You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2004/03/25 05:38:55 UTC
DO NOT REPLY [Bug 27936] New: -
fop jars conflict with newer versions
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27936>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27936
fop jars conflict with newer versions
Summary: fop jars conflict with newer versions
Product: Fop
Version: 0.20.5
Platform: Sun
OS/Version: Linux
Status: NEW
Severity: Critical
Priority: Other
Component: general
AssignedTo: fop-dev@xml.apache.org
ReportedBy: phthenry@earthlink.net
CC: phthenry@earthlink.net
fop will not run if newer jars are available.
If I put the fop jars in my CLASSPATH and then run fop with:
java org.apache.fop.apps.Fop -fo inFile.xml out.pdf
I get an error (which I printed below).
However, if I run the run the sh script that came with fop, I get no problems.
I did other experimentation and found that the jars that came with fop must
be *first* in the CLASSPATH. So long as java sees the fop jar files first, it
will run correctly.
I have installed the latest version of xalan. Also, I have put the xerces and
xalan jars in my /lib/endorsed in the directory of my java installation.
Thank you
Paul
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5rc
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
Exception in thread "main" java.lang.AbstractMethodError
at org.apache.fop.apps.Driver.addElementMapping(Driver.java:398)
at org.apache.fop.apps.Driver.addElementMapping(Driver.java:409)
at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java:273)
at org.apache.fop.apps.Driver.<init>(Driver.java:181)
at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:55)
at org.apache.fop.apps.Fop.main(Fop.java:19)