<p>This error occurs because you used a variable ($) and wildcard name (*.war). </p>

<p>Elastic Beanstalk plugin does not support Variable or wildcard name in the Value.</p>

<p>I suggest a use full path of Jenkins job instead of <code>${WORKSPACE}</code> and full war name like <code>ROOT.war</code> instead of <code>*.war</code></p>

CC BY-SA 4.0
2019-04-05T14:26:36.403Z
2019-04-05T14:26:36.403Z
Subhash
<p>I create a Jenkins job which uploads my war file to elastic beanstalk. But when I start to build it gives error <code>java.lang.IllegalArgumentException: Root Object doesn't exist</code>  </p>

<p>Below is my configuration:<a href="https://i.sstatic.net/nLI59.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/nLI59.png" alt="enter image description here"></a></p>

<jenkins><amazon-web-services><elastic>
Elastic Beanstalk give error Root Object doesn't exist in Jenkins
Jay
# Elastic Beanstalk give error Root Object doesn't exist in Jenkins

(Asked by: username_0 on 2019-04-05)

I create a Jenkins job which uploads my war file to elastic beanstalk. But when I start to build it gives error `java.lang.IllegalArgumentException: Root Object doesn't exist`

Below is my configuration:[![enter image description here](https://i.sstatic.net/nLI59.png)](https://i.sstatic.net/nLI59.png)

**Tags:** jenkins, amazon-web-services, elastic


---

## 1 answers

### Answer by username_1 on 2019-04-05. Score: 1 | Accepted answer

This error occurs because you used a variable ($) and wildcard name (\*.war).

Elastic Beanstalk plugin does not support Variable or wildcard name in the Value.

I suggest a use full path of Jenkins job instead of `${WORKSPACE}` and full war name like `ROOT.war` instead of `*.war`


---

