/
Command shell Error: Unable to access jarfile

Command shell Error: Unable to access jarfile

Symptom

When executing any command using the MettleCI command shell, the process crashes with the following error:

Error: Unable to access jarfile demo/dm-mettleci-command-shell-1.1/bin/command-shell-1.1-174.jar

Cause

The Command Shell installation path includes whitespace (anywhere in the path).

Solution

The Command Shell must be installed in a location where the full absolute path includes no whitespace.

Related content

MettleCI CLI throws an 'UnsupportedClassVersionError'
MettleCI CLI throws an 'UnsupportedClassVersionError'
More like this
MettleCI CLI throws error 'java.lang.OutOfMemoryError: Java heap space'
MettleCI CLI throws error 'java.lang.OutOfMemoryError: Java heap space'
More like this
Installing MettleCI CLI on Unix
Installing MettleCI CLI on Unix
More like this
MettleCI CLI produces error of the form 'Cannot run program "XXX"'
MettleCI CLI produces error of the form 'Cannot run program "XXX"'
More like this
Some MettleCI Command Line options are being ignored on Windows
Some MettleCI Command Line options are being ignored on Windows
More like this
Problems supplying passwords to the MettleCI Command Line
Problems supplying passwords to the MettleCI Command Line
More like this

© 2015-2024 Data Migrators Pty Ltd.