> C:\FOP Test>java -cp build\fop.jar;lib
> \batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar;lib\avalon-framework-4.0
> .jar
> ;lib\logkit-1.0b4.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop 18-1.fo
> 18-1.pdf
>  
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/log/format
> /Formatter
>         at org.apache.fop.apps.Fop.main(Fop.java:16)

That's a class from LogKit (logkit-1.0b4.jar). Maybe you have
logkit-1.0.jar in your lib directory, now. So you may have to adjust the
classpath. 

> Does anyone have any idea what the problem is? The fop.jar and
> xerces-1.2.3.jar files are located in my C:\j2sdk1.4.0\jre\lib\ext
> directory. (There were no w3c.jar or jimi-1.0.jar files included with the
> FOP distribution.) Is there something wrong in my setup?

w3c.jar is not necessary anymore, I think.
jimi.jar can be downloaded at Sun.

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch

Reply via email to