Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146960 - dev-java/fop -- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger
Summary: dev-java/fop -- Exception in thread "main" java.lang.NoClassDefFoundError: or...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-09 08:58 UTC by catholic_poster
Modified: 2006-09-10 08:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description catholic_poster 2006-09-09 08:58:13 UTC
# 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
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2006-09-09 10:01:00 UTC
Please provide your emerge --info
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2006-09-09 10:02:46 UTC
Also please attach SIT324_main.xml file if you can so that I can test with it.
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-10 04:15:32 UTC
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?
Comment 4 catholic_poster 2006-09-10 08:13:57 UTC
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.