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
[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
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[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