Skip to content

Error in using SBT ASEMBLY COMMAND #57

Description

@hmhm1190

I am trying to to generate binary file using SBT ASSEMBLY, but the generated jar file is corrupted.
Upon checking, every other command is giving this error

$ sbt "runMain org.allenai.pdffigures2.FigureExtractorVisualizationCli /home/husainmalwat/src_pdf"

[info] Updated file /home/husainmalwat/nougat/nougat/project/build.properties: set sbt.version to 1.4.9
[info] welcome to sbt 1.4.9 (Red Hat, Inc. Java 1.8.0_382)
[info] loading project definition from /home/husainmalwat/nougat/nougat/project
[info] set current project to nougat (in build file:/home/husainmalwat/nougat/nougat/)
[info] running org.allenai.pdffigures2.FigureExtractorVisualizationCli /home/husainmalwat/src_pdf
[error] (run-main-0) java.lang.ClassNotFoundException: org.allenai.pdffigures2.FigureExtractorVisualizationCli
[error] java.lang.ClassNotFoundException: org.allenai.pdffigures2.FigureExtractorVisualizationCli
[error] at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
[error] stack trace is suppressed; run last Compile / bgRunMain for the full output
[error] Nonzero exit code: 1
[error] (Compile / runMain) Nonzero exit code: 1
[error] Total time: 1 s, completed 11 Nov, 2023 1:04:59 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions