Step 4. Deploy the optimized jar - Using deployJar
extension
I typed ‘./gradlew hello-world:deployToLocal -PkeystoreName=keystore.json -PkeystorePass=gocha’
However, I got an error as below.
>>> deploy to http://localhost:9082/api/v3
>>> optimizedJar = /path/java-score-examples/hello-world/build/libs/hello-world-0.1.0-optimized.jar
>>> keystore = keystore.json
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':hello-world:deployToLocal'.
> java.io.FileNotFoundException: keystore.json (No such file or directory)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
how can i solve it?