Trying to generate image using pdf format, gives java.lang.UnsupportedOperationException!

0 votes
asked Feb 25, 2016 in To be sorted by anonymous
The command executed is:

:=> java -jar plantuml.jar -tpdf mySeq1.txt

and the result is the following. I get a pdf-file with zero-size:

java.lang.ClassNotFoundException: org.apache.batik.apps.rasterizer.SVGConverter
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at net.sourceforge.plantuml.pdf.PdfConverter.convert(PdfConverter.java:51)
    at net.sourceforge.plantuml.UmlDiagram.exportDiagramInternalPdf(UmlDiagram.java:357)
    at net.sourceforge.plantuml.UmlDiagram.exportDiagram(UmlDiagram.java:225)
    at net.sourceforge.plantuml.PSystemUtils.exportDiagramsSequence(PSystemUtils.java:176)
    at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(PSystemUtils.java:66)
    at net.sourceforge.plantuml.SourceFileReader.getGeneratedImages(SourceFileReader.java:210)
    at net.sourceforge.plantuml.Run.manageFileInternal(Run.java:394)
    at net.sourceforge.plantuml.Run.processArgs(Run.java:316)
    at net.sourceforge.plantuml.Run.manageAllFiles(Run.java:291)
    at net.sourceforge.plantuml.Run.main(Run.java:135)
Exception in thread "main" java.lang.UnsupportedOperationException
    at net.sourceforge.plantuml.pdf.PdfConverter.convert(PdfConverter.java:70)
    at net.sourceforge.plantuml.UmlDiagram.exportDiagramInternalPdf(UmlDiagram.java:357)
    at net.sourceforge.plantuml.UmlDiagram.exportDiagram(UmlDiagram.java:225)
    at net.sourceforge.plantuml.PSystemUtils.exportDiagramsSequence(PSystemUtils.java:176)
    at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(PSystemUtils.java:66)
    at net.sourceforge.plantuml.SourceFileReader.getGeneratedImages(SourceFileReader.java:210)
    at net.sourceforge.plantuml.Run.manageFileInternal(Run.java:394)
    at net.sourceforge.plantuml.Run.processArgs(Run.java:316)
    at net.sourceforge.plantuml.Run.manageAllFiles(Run.java:291)
    at net.sourceforge.plantuml.Run.main(Run.java:135)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...