Skip to content

[Bug]: plantuml: PDF generation fails due to missing dependencies (ClassNotFoundException) #16750

@Foadsf

Description

@Foadsf

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

plantuml

Expected/Current Behaviour

Expected:
Running plantuml -tpdf file.puml should generate a PDF file.

Current:
The application crashes with a Java error because the standard PlantUML jar does not include the Apache Batik dependencies required for PDF generation.

Error trace:
java.lang.ClassNotFoundException: org.apache.batik.apps.rasterizer.SVGConverter

Steps to Reproduce

# 1. Install plantuml
scoop install plantuml

# 2. Create a dummy file
Set-Content -Path "test.puml" -Value "@startuml`nA->B`n@enduml"

# 3. Attempt to generate PDF
plantuml -tpdf test.puml

Possible Solution

The current manifest installs the standard plantuml.jar. PDF generation requires either:

  1. Adding the Apache Batik libraries to the classpath.
  2. Or, if available, switching the source to a PlantUML distribution that bundles these dependencies.

Scoop and Buckets Version

Current Scoop version:
b588a06e (HEAD -> master, tag: v0.5.3, origin/master, origin/HEAD) chore(release): Bump to version 0.5.3 (resync) (#6436)

'main' bucket:
47de37cfc (HEAD -> master, origin/master, origin/HEAD) scala-cli: Update to version 1.10.1

'extras' bucket:
451cea5791 (HEAD -> master, origin/master, origin/HEAD) qq: Update to version 9.7.25.29417, disable checkver

Scoop Config

last_update                       scoop_repo                              scoop_branch
-----------                       ----------                              ------------
2025-12-08T20:41:04.6589404+01:00 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

Name                           Value
----                           -----
PSVersion                      5.1.26100.7019
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.26100.7019
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

Java Runtime: temurin-lts-jre (Eclipse Temurin JDK with Hotspot 17)
Graphviz: 2.44.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions