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

1 Answer 1


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.