[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

installing fop (again)



Not sure if this email reached the list - resending ...

[ apologies for the long(ish) mail ]

Ok, as Ola suggested I read the README.Debian a litle more carefully
and also followed Jeff Licquia's advice re Batik -  
however after all the setup below I get still get this.

[eric@cherry ~] 5 $ sh -x bin/fop.sh
+ Js=/usr/share/java
+ export CLASSPATH=/usr/share/java/xerces.jar:/usr/share/java/xalan2.jar:/usr/share/java/bsf.jar:/usr/share/java/batik.jar:/usr/share/java/svg.jar:/usr/share/java/jimi.jar:/usr/share/java/fop.jar
+ CLASSPATH=/usr/share/java/xerces.jar:/usr/share/java/xalan2.jar:/usr/share/java/bsf.jar:/usr/share/java/batik.jar:/usr/share/java/svg.jar:/usr/share/java/jimi.jar:/usr/share/java/fop.jar
+ java org.apache.fop.apps.Fop formatter.xsl plan_one.fo
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log/format/Formatter
        at org.apache

and FWIW, here is a bit of verbosity:
...
[Loaded java.io.FilePermission$1 from /usr/lib/j2re1.3/lib/rt.jar]
[Loaded java.lang.RuntimePermission from /usr/lib/j2re1.3/lib/rt.jar]
[Loaded java.security.cert.Certificate from /usr/lib/j2re1.3/lib/rt.jar]
[Loaded org.apache.fop.apps.Fop]
[Loaded org.apache.fop.apps.FOPException]
[Loaded org.apache.fop.apps.Starter]
[Loaded org.apache.fop.apps.CommandLineOptions]
[Loaded org.apache.fop.apps.InputHandler]
[Loaded org.apache.fop.apps.FOInputHandler]
[Loaded org.apache.fop.apps.XSLTInputHandler]
[Loaded org.apache.fop.apps.CommandLineStarter]
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log/format/Formatter
        at org.apache.fop.apps.Fop.main(Unknown Source)

[eric@cherry ~] 5 $ jar tf /usr/share/java/fop.jar|grep Form
org/apache/fop/fo/properties/FormatMaker.class
org/apache/fop/mif/MIFDocument$ParagraphFormat.class
org/apache/fop/mif/MIFDocument$FontFormat.class
org/apache/fop/mif/MIFDocument$TblFormat.class
org/apache/fop/mif/MIFDocument$XRefFormat.class
org/apache/fop/apps/FormattingResults.class

! no Formatter Class

Is this a version mismatch?
Any suggestions to fix - like the exact versions of each of the jars?

Many thanks

Eric Smith

PS

Some directory listings indicating versions
[eric@cherry ~] 5 $ ls -l /usr/share/java
total 8596
-rw-r--r--    1 root     root       417110 Apr  1 17:40 ant.jar
-rw-r--r--    1 root     root      2166551 Apr  6 16:28 batik.jar
-rw-r--r--    1 eric     eric          556 Dec 18 16:32 batik_another.jar
-rw-r--r--    1 root     root        91682 Apr  9  2001 bsf.jar
-rw-r--r--    1 root     root       370612 Apr 13  2001 fop-0.13.0.jar
-rw-r--r--    1 root     root      1613758 Feb  6 08:16 fop-0.20.3rc.jar
lrwxrwxrwx    1 root     root           16 Mar  3 23:35 fop.jar -> fop-0.20.3rc.jar
-rw-r--r--    1 root     root       455489 Apr  6 16:24 jimi-1.0.jar
lrwxrwxrwx    1 root     root           12 Apr  6 16:24 jimi.jar -> jimi-1.0.jar
drwxr-xr-x    2 root     root         4096 Sep  3  1999 repository
-rw-r--r--    1 root     root        40833 Feb 10 15:41 servlet-2.2.jar
-rw-r--r--    1 root     root       215861 Nov 12 00:57 soap-2.2.jar
lrwxrwxrwx    1 root     root           12 Nov 14 01:38 soap.jar -> soap-2.2.jar
-rw-r--r--    1 root     root       530645 Apr  6 16:21 svg.jar
-rw-r--r--    1 root     root        49271 Apr 13  2001 turbine-pool.jar
drwxr-xr-x    2 root     root         4096 Nov 14 01:38 webapps
-rw-r--r--    1 root     root       728609 Apr 16  2001 xalan-2.0.1.jar
-rw-r--r--    1 root     root       450093 Jul 15  2001 xalan.jar
lrwxrwxrwx    1 root     root           15 Mar  3 23:40 xalan2.jar -> xalan-2.0.1.jar
-rw-r--r--    1 root     root        38477 Apr 16  2001 xalanj1compat-2.0.1.jar
lrwxrwxrwx    1 root     root           23 Mar  3 23:40 xalanj1compat.jar -> xalanj1compat-2.0.1.jar
lrwxrwxrwx    1 root     root           22 Mar  3 23:40 xalansamples.jar -> xalansamples-2.0.1.jar
-rw-r--r--    1 root     root        21541 Apr 16  2001 xalanservlet-2.0.1.jar
lrwxrwxrwx    1 root     root           22 Mar  3 23:40 xalanservlet.jar -> xalanservlet-2.0.1.jar
-rw-r--r--    1 root     root       758565 Sep  1  2001 xerces.jar
-rw-r--r--    1 eric     eric       758565 Apr  1 15:44 xerces_another.jar



[eric@cherry ~] 5 $ sudo cp -v  batik-1.1/*jar /usr/share/java/
Password:
`batik-1.1/batik-rasterizer.jar' -> `/usr/share/java/batik-rasterizer.jar'
`batik-1.1/batik-slideshow.jar' -> `/usr/share/java/batik-slideshow.jar'
`batik-1.1/batik-svgbrowser.jar' -> `/usr/share/java/batik-svgbrowser.jar'
`batik-1.1/batik-svgpp.jar' -> `/usr/share/java/batik-svgpp.jar'
`batik-1.1/batik-ttf2svg.jar' -> `/usr/share/java/batik-ttf2svg.jar'
`batik-1.1/batik.jar' -> `/usr/share/java/batik.jar'

[eric@cherry ~] 5 $ sudo cp -v batik-1.1/lib/*jar /usr/share/java/lib/
`batik-1.1/lib/batik-awt-util.jar' -> `/usr/share/java/lib/batik-awt-util.jar'
`batik-1.1/lib/batik-bridge.jar' -> `/usr/share/java/lib/batik-bridge.jar'
`batik-1.1/lib/batik-css.jar' -> `/usr/share/java/lib/batik-css.jar'
`batik-1.1/lib/batik-dom.jar' -> `/usr/share/java/lib/batik-dom.jar'
`batik-1.1/lib/batik-ext.jar' -> `/usr/share/java/lib/batik-ext.jar'
`batik-1.1/lib/batik-extension.jar' -> `/usr/share/java/lib/batik-extension.jar'
`batik-1.1/lib/batik-gui-util.jar' -> `/usr/share/java/lib/batik-gui-util.jar'
`batik-1.1/lib/batik-gvt.jar' -> `/usr/share/java/lib/batik-gvt.jar'
`batik-1.1/lib/batik-parser.jar' -> `/usr/share/java/lib/batik-parser.jar'
`batik-1.1/lib/batik-script.jar' -> `/usr/share/java/lib/batik-script.jar'
`batik-1.1/lib/batik-svg-dom.jar' -> `/usr/share/java/lib/batik-svg-dom.jar'
`batik-1.1/lib/batik-svggen.jar' -> `/usr/share/java/lib/batik-svggen.jar'
`batik-1.1/lib/batik-transcoder.jar' -> `/usr/share/java/lib/batik-transcoder.jar'
`batik-1.1/lib/batik-util.jar' -> `/usr/share/java/lib/batik-util.jar'
`batik-1.1/lib/batik-xml.jar' -> `/usr/share/java/lib/batik-xml.jar'
`batik-1.1/lib/crimson-parser.jar' -> `/usr/share/java/lib/crimson-parser.jar'
`batik-1.1/lib/js.jar' -> `/usr/share/java/lib/js.jar'


[eric@cherry ~] 5 $ ls -l /usr/share/java/lib
total 2448
-rw-r--r--    1 root     root       333005 Apr  6 17:10 batik-awt-util.jar
-rw-r--r--    1 root     root       230201 Apr  6 17:10 batik-bridge.jar
-rw-r--r--    1 root     root       157165 Apr  6 17:10 batik-css.jar
-rw-r--r--    1 root     root       146276 Apr  6 17:10 batik-dom.jar
-rw-r--r--    1 root     root       126578 Apr  6 17:10 batik-ext.jar
-rw-r--r--    1 root     root        22269 Apr  6 17:10 batik-extension.jar
-rw-r--r--    1 root     root       129801 Apr  6 17:10 batik-gui-util.jar
-rw-r--r--    1 root     root       121961 Apr  6 17:10 batik-gvt.jar
-rw-r--r--    1 root     root        45468 Apr  6 17:10 batik-parser.jar
-rw-r--r--    1 root     root        13365 Apr  6 17:10 batik-script.jar
-rw-r--r--    1 root     root       230496 Apr  6 17:10 batik-svg-dom.jar
-rw-r--r--    1 root     root       173567 Apr  6 17:10 batik-svggen.jar
-rw-r--r--    1 root     root        61705 Apr  6 17:10 batik-transcoder.jar
-rw-r--r--    1 root     root        48422 Apr  6 17:10 batik-util.jar
-rw-r--r--    1 root     root        22957 Apr  6 17:10 batik-xml.jar
-rw-r--r--    1 root     root        74901 Apr  6 17:10 crimson-parser.jar
-rw-r--r--    1 root     root       483294 Apr  6 17:10 js.jar


-- 
Eric Smith


-- 
To UNSUBSCRIBE, email to debian-java-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: