You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previous versions of the JAR file allowed for the following command to be run without issue java -jar ssc-restapi-client.jar.
Running the above command with the latest JAR version results in the error: no main manifest attribute, in ssc-restapi-client.jar
This issue occurs on regardless of platform or java version used.
The text was updated successfully, but these errors were encountered:
@yarlichev I know we upgraded the client to use a different generator for this release. Is there a way to restore the manifest in the generated artifact?
@Rob-Conan What are you trying to achieve by running it with java -jar? ssc-restapi-client is a library, it needs to be accessed only programmatically from an application. Just put the jar on the classpath and use the ApiClient from your code.
We have some scripts that directly invokes the API by calling the jar file.
This works on older versions of the jar file and I want to upgrade our
scripting to utilize the latest jar but I am unable to do so.
Pulling the latest version of both the source code and the jar file in the releases (https://github.com/fortify/ssc-restapi-client/releases/tag/v22.1) results in an error when attemting to run the application in a stand alone Jar format.
Previous versions of the JAR file allowed for the following command to be run without issue
java -jar ssc-restapi-client.jar
.Running the above command with the latest JAR version results in the error:
no main manifest attribute, in ssc-restapi-client.jar
This issue occurs on regardless of platform or java version used.
The text was updated successfully, but these errors were encountered: