# Syntax: fop -xsl /usr/share/sgml/docbook/xsl-stylesheets-1.70.1/fo/docbook.xsl -xml SIT324_main.xml -pdf SIT324_doc.pdf Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger at org.apache.fop.apps.Fop.main(Fop.java:60) This error occurs on any version of fop that I use. Since fop works fine on another virtual gentoo machine, I am guessing that a dependency is missing in the ebuild for fop. I can't figure out what the dependency is, but it is probably a java-related package and possibly of a specific version. * dev-java/fop Available versions: 0.20.5-r1 0.20.5-r3 ~0.20.5-r6 Installed: 0.20.5-r1 Homepage: http://xml.apache.org/fop/ Description: Formatting Objects Processor is a print formatter driven by XSL
Please provide your emerge --info
Also please attach SIT324_main.xml file if you can so that I can test with it.
It's true that 0.20.5-r1 is missing avalon-framework dependency, but the later revisions don't. You really get the same error with later revisions?
Fixed the above error message: "java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger" It's related to the java vm install/upgrade process since things have changed. http://www.gentoo.org/proj/en/java/java-upgrade.xml In light of that, I'm receiving new piles of error messages as it seems to process further through. :) I'll submit a new ticket if I can't figure it out.