Connecting Tech Pros Worldwide Forums | Help | Site Map

why do i need to use org/apache/avalon/framework/logger/Logger to convert XSL-FO to PDF??

sachin
Guest
 
Posts: n/a
#1: Feb 3 '06
hello everyone,
i am trying to convert my XSL-FO to PDF file by using fop-0.20.5
by importing the following classes:

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.xml.sax.InputSource;
import org.apache.fop.apps.*;

when i try to run the application, it gives me the following error:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/avalon/framework/logger/Logger

my question is, why do i need to use the
org/apache/avalon/framework/logger/Logger package in order to convert
my XSL-FO to PDF?? why cant i do it without using this package??

thanks a lot in advance,
sachin.


Soren Kuula
Guest
 
Posts: n/a
#2: Feb 3 '06

re: why do i need to use org/apache/avalon/framework/logger/Logger to convert XSL-FO to PDF??


Hi[color=blue]
> my question is, why do i need to use the
> org/apache/avalon/framework/logger/Logger package in order to convert
> my XSL-FO to PDF?? why cant i do it without using this package??[/color]

Because it's been compiled into it. It's born and raised to use it. You
just have to download it, fling it into your classpath, cry over the
$0.0001 worth of disk space wasted, and then forget about it ;)

Soren
Closed Thread