Hi,

I'm having a problem with using the XML2Bookmarks tool from the command
line. I was running

java -cp "/home/goerz/bin/iText/iText.jar"
com.lowagie.tools.plugins.XML2Bookmarks bookmarks.xml in.pdf out.pdf

and got the following error:

Exception in thread "main" java.lang.NoSuchMethodError:
com.lowagie.text.pdf.PdfReader.getViewerPreferences()I
        at com.lowagie.tools.plugins.XML2Bookmarks.execute(Unknown Source)
        at com.lowagie.tools.plugins.XML2Bookmarks.main(Unknown Source)


The Java version is:
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)

iText version is 2.0.7

The OS is Suse Linux 10.3

Using XML2Bookmarks from inside the GUI works fine. Using other tools
from the toolbox via command line also works (I tested Burst and PhotoAlbum)

Any suggestions?

Thanks,
Michael Goerz

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to