title: Payara Micro - 404 after deployment
body: <p>I wanted to try this cool micro app server - Payara Micro, but Im somehow unable to deploy the simplest example possible. 
  I've created a blank web-app maven project from netbeans, using JavaEE7 with no dependencies. Tried to compile it (nothing much to compile), and ran it successfully with Glassfish 4.1.1 - Hello World welcome page appears, and everything is OK.</p>
  
  <p>Did a clean&amp;build, and tried to deploy resulting WARfile to payara.
  (java -jar payara-micro.jar --deploy mywarfile.war)
  Startup was quick, just noticed two messages in output - > "No META-INF/deploy" directory and "Deployed 1 archives".
  Tried to open the index page, but oops -> error 404 (as seen below).</p>
  
  <p><a href="https://i.stack.imgur.com/2CT11.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2CT11.png" alt="enter image description here"></a></p>
  
  <p>The project is really simple, I may be doing something wrong when deploying. Maybe some errors in project structure ? 
  Hereby I present the primitive project structure used :</p>
  
  <p><a href="https://i.stack.imgur.com/UWiNe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UWiNe.png" alt="enter image description here"></a></p>
  
  <p>Thank you very much for any valuable solution/feedback. I think I'm just overlooking some minor, stupid thing.</p>
  
  <p>Edit: pomfile attached. Tried to run it with both dependencies, with EE or payara only, but no change :(</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  </code></pre>
  
  <p>http://maven.apache.org/xsd/maven-4.0.0.xsd">
      4.0.0</p>
  
  <pre><code>&lt;groupId&gt;com.myproject.sigag&lt;/groupId&gt;
  &lt;artifactId&gt;sigag&lt;/artifactId&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;packaging&gt;war&lt;/packaging&gt;
  
  &lt;name&gt;sigag&lt;/name&gt;
  
  &lt;properties&gt;
      &lt;endorsed.dir&gt;${project.build.directory}/endorsed&lt;/endorsed.dir&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
  &lt;/properties&gt;
  
  &lt;dependencies&gt;
      &lt;!--&lt;dependency&gt;
          &lt;groupId&gt;javax&lt;/groupId&gt;
          &lt;artifactId&gt;javaee-web-api&lt;/artifactId&gt;
          &lt;version&gt;7.0&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;--&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;fish.payara.extras&lt;/groupId&gt;
          &lt;artifactId&gt;payara-micro&lt;/artifactId&gt;
          &lt;version&gt;4.1.152.1&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
          &lt;type&gt;jar&lt;/type&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;3.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.7&lt;/source&gt;
                  &lt;target&gt;1.7&lt;/target&gt;
                  &lt;compilerArguments&gt;
                      &lt;endorseddirs&gt;${endorsed.dir}&lt;/endorseddirs&gt;
                  &lt;/compilerArguments&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.3&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;failOnMissingWebXml&gt;false&lt;/failOnMissingWebXml&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.6&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;phase&gt;validate&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;copy&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;outputDirectory&gt;${endorsed.dir}&lt;/outputDirectory&gt;
                          &lt;silent&gt;true&lt;/silent&gt;
                          &lt;artifactItems&gt;
                              &lt;artifactItem&gt;
                                  &lt;groupId&gt;javax&lt;/groupId&gt;
                                  &lt;artifactId&gt;javaee-endorsed-api&lt;/artifactId&gt;
                                  &lt;version&gt;7.0&lt;/version&gt;
                                  &lt;type&gt;jar&lt;/type&gt;
                              &lt;/artifactItem&gt;
                          &lt;/artifactItems&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>