title: weblogic.Deployer IllegalArgumentException when trying to deploy ear: The file list is not allowed for this operation if source is specified
body: <p>I am trying to deploy an ear-file via <code>weblogic.Deployer</code>:</p>
  <pre><code>java -cp &quot;$WLS_JAR&quot; weblogic.Deployer \
      -adminurl -adminurl http://localhost:7001 \
      -user weblogic \
      -password $PASSWORD\
      -deploy \
      -name myApp \
      -source /path/to/myapp.ear \
      -plan /path/to/myplan.xml \
      -verbose -debug
  </code></pre>
  <p>The deployer tool told me the following:</p>
  <pre><code>weblogic.Deployer invoked with options:  -adminurl -adminurl http://localhost:7001 -user weblogic -deploy -name myApp -source /path/to/myapp.ear -plan /path/to/myplan.xml -verbose -debug
  java.lang.IllegalArgumentException: The file list is not allowed for this operation if source is specified.
          at weblogic.deploy.api.tools.deployer.Jsr88Operation.validateDelta(Jsr88Operation.java:218)
          at weblogic.deploy.api.tools.deployer.Jsr88Operation.validate(Jsr88Operation.java:98)
          at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:87)
          at weblogic.utils.compiler.Tool.run(Tool.java:159)
          at weblogic.utils.compiler.Tool.run(Tool.java:116)
          at weblogic.Deployer.run(Deployer.java:74)
          at weblogic.Deployer.main(Deployer.java:55)
  </code></pre>
  <p>I followed this documentation by Oracle: <a href="https://docs.oracle.com/cd/E13222_01/wls/docs90/deployment/wldeployer.html#1005385" rel="nofollow noreferrer">https://docs.oracle.com/cd/E13222_01/wls/docs90/deployment/wldeployer.html#1005385</a>
  I tried to add or remove some of the CL-options, e.g. added <code>-stage</code> or/and <code>-upload</code> or the <code>-targets</code> options, but the response remained the same.
  I just can't find my mistake and I can't find anything when searching for this error message...</p>
  <p>Why is the Deployment not working and what does the tool mean by &quot;file list&quot;, that is not allowed?</p>