title: Azure DevOps NexusIQ task 'Error from CLI Command failed with exit code 1: java -jar'
body: <h1>What do I want to accomplish?</h1>
  <p>'<em>Hello to the incredible community of StackOverflow</em>'</p>
  <p>Scan the <strong>packages</strong> of our code with <strong>NexusIQ Task</strong>, in an <strong>Azure DevOps Services Pipeline</strong></p>
  <h2>Environment</h2>
  <ol>
  <li><p><strong>Azure DevOps Services</strong>--&gt;Pipelines--&gt;Task--&gt;<strong>NexusIQ</strong></p>
  </li>
  <li><p><strong>NexusIQ Task Parameter(s)</strong>:</p>
  </li>
  </ol>
  <ul>
  <li><p><strong>Service Connection</strong> = Stablished and whitelisted</p>
  </li>
  <li><p><strong>Scan Targets</strong> = <code>**/*.jar, **/*.war, **/*.ear, **/*.zip, **/*.tar.gz, **/*.dll</code></p>
  </li>
  </ul>
  <h2>Error output</h2>
  <p>Performing the <strong>Scan</strong> of our code the last bit throws the next error:</p>
  <p><code>Error from CLI: Error: Command failed with exit code 1: java -jar</code></p>
  <h2>Error log detailed</h2>
  <p><code>Error from CLI: Error: Command failed with exit code 1: java -jar F:\AzureAgents\Agent01\_work\_tasks\NexusIqPipelineTask_4f40d1a2-83b0-4ddc-9a77-e7f279eb1802\1.3.19\resources\nexus-iq-cli-1.128.0-01.jar @F:\AzureAgents\Agent01\_work\_tasks\NexusIqPipelineTask_4f40d1a2-83b0-4ddc-9a77-e7f279eb1802\1.3.19\resources\cli-params.txt </code></p>
  <h2>Troubleshooting details</h2>
  <ul>
  <li>I did test changing the <strong>Scan Tartget</strong> from <code>**/*.jar, **/*.war, **/*.ear, **/*.zip, **/*.tar.gz, **/*.dll</code> to <code>**/*.war, **/*.ear, **/*.zip, **/*.tar.gz, **/*.dll</code></li>
  <li>As can be seen above the <code>**/*.jar</code> <strong>file extension</strong> was removed but either way the error output remains the same:</li>
  </ul>
  <p><code>Error from CLI: Error: Command failed with exit code 1: java -jar F:\AzureServicesAgents\AgentU01\_work\_tasks\NexusIqPipelineTask_4f40d1a2-83b0-4ddc-9a77-e7f279eb1802\1.3.21\resources\nexus-iq-cli-1.128.0-01.jar @F:\AzureServicesAgents\AgentU01\_work\_tasks\NexusIqPipelineTask_4f40d1a2-83b0-4ddc-9a77-e7f279eb1802\1.3.21\resources\cli-params.txt</code></p>