You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Ma...@mlp-ag.com on 2002/03/20 11:26:15 UTC
Problems running FOP
Hi, I have some difficulties running Fop and I´m trying to fix it for more than
a day now.
When I´m trying to start Fop from command line, it returns:
Exception in thread "main" java.lang.NoClassDefFound Error:
org/apache/avalon/framework/logger/loggable
I was able to fix some similar Exceptions by adding various jar-files to the
classpath, in fact I added (almost?) every jar-file... from
avalon-framework-4.1.1.jar to xerces-jar, but it won´t help.
I´m using fop-version 0.20.3 and I have installed xalan (which runs
perfectly...).
Can somebody please help?
Numbering lines
Posted by Patrick Andries <pa...@videotron.ca>.
Is it possible to dynamically number lines in FO ?
P. Andries
Re: Problems running FOP
Posted by Christian Geisert <ch...@isu-gmbh.de>.
Markus.Lehr@mlp-ag.com wrote:
> Hi, I have some difficulties running Fop and I´m trying to fix it for more than
> a day now.
> When I´m trying to start Fop from command line, it returns:
> Exception in thread "main" java.lang.NoClassDefFound Error:
> org/apache/avalon/framework/logger/loggable
This sounds like avalon-framework-4.0.jar is missing.
> I was able to fix some similar Exceptions by adding various jar-files to the
> classpath, in fact I added (almost?) every jar-file... from
> avalon-framework-4.1.1.jar to xerces-jar, but it won´t help.
> I´m using fop-version 0.20.3 and I have installed xalan (which runs
> perfectly...).
Mmmh .. Fop should work "out of the box" from the commandline.
All needed jars are in the lib/ directory and fop.bat/fop.sh adds
them to the classpath. Which OS are you using?
> Can somebody please help?
Christian
Re: Problems running FOP
Posted by Carlos <ca...@cvc.edu>.
How are you trying to run FOP? The error is related to logkit that ships
with FOP. In the distribution there should be a script call fop.sh or
fop.bat if you run that with the following syntax:
Fop.sh -xml <name of xml file> -xsl <path to style sheet> -pdf <name of PDF>
It should work
HTH
Carlos
On 03/20/02 2:26, "Markus.Lehr@mlp-ag.com" <Ma...@mlp-ag.com> wrote:
> Hi, I have some difficulties running Fop and I´m trying to fix it for more
> than
> a day now.
> When I´m trying to start Fop from command line, it returns:
> Exception in thread "main" java.lang.NoClassDefFound Error:
> org/apache/avalon/framework/logger/loggable
>
> I was able to fix some similar Exceptions by adding various jar-files to the
> classpath, in fact I added (almost?) every jar-file... from
> avalon-framework-4.1.1.jar to xerces-jar, but it won´t help.
> I´m using fop-version 0.20.3 and I have installed xalan (which runs
> perfectly...).
>
> Can somebody please help?
>
>
--
Carlos E. Araya
---+ WebCT Administrator/Trainer
P | California Virtual Campus
- | C/O De Anza College
G | 21250 Stevens Creek Blvd
---+ Cupertino, CA 95014
email carlos@cvc.edu
web http://www.cvc1.org/ (work)
http://www.silverwolf-net.net (personal)
phone 408 257 0420 (work)
PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756
Paradoxically, a refusal to 'put a monetary value on life' means that life
is often undervalued.
-- Artificial Intelligence: A Modern Approach