title: Heroku and jetty error
body: <p>The app (basic java server with jetty and maven) doesn't run when i do "heroku local"</p>
  
  <p><a href="https://i.stack.imgur.com/kRGZf.png" rel="nofollow noreferrer">first try: (error)</a></p>
  
  <p>pom.xml: <a href="https://pastebin.com/eWVwvRrA" rel="nofollow noreferrer">Full pom.xml</a></p>
  
  <pre><code>&lt;plugin&gt;
        &lt;!-- Build an executable JAR --&gt;
        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
        &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
        &lt;version&gt;3.0.2&lt;/version&gt;
  
        &lt;configuration&gt;
          &lt;additionalProperties&gt;
              &lt;encoding.source&gt;${project.build.sourceEncoding}&lt;/encoding.source&gt;
              &lt;encoding.reporting&gt;${project.reporting.outputEncoding}&lt;/encoding.reporting&gt;
              &lt;java.source&gt;${maven.compiler.source}&lt;/java.source&gt;
              &lt;java.target&gt;${maven.compiler.target}&lt;/java.target&gt;
            &lt;/additionalProperties&gt;
        &lt;/configuration&gt;
      &lt;/plugin&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/NHNeB.png" rel="nofollow noreferrer">second try: (error)</a></p>
  
  <p>pom.xml change: <a href="https://pastebin.com/CbaPf3a8" rel="nofollow noreferrer">Full pom.xml</a></p>
  
  <pre><code>&lt;plugin&gt;
        &lt;!-- Build an executable JAR --&gt;
        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
        &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
        &lt;version&gt;3.0.2&lt;/version&gt;
  
        &lt;configuration&gt;
          &lt;archive&gt;
            &lt;manifest&gt;
              &lt;addClasspath&gt;true&lt;/addClasspath&gt;
              &lt;classpathPrefix&gt;target/classes/&lt;/classpathPrefix&gt;
              &lt;mainClass&gt;com.example.WS_Server&lt;/mainClass&gt;
            &lt;/manifest&gt;
          &lt;/archive&gt;
          &lt;additionalProperties&gt;
              &lt;encoding.source&gt;${project.build.sourceEncoding}&lt;/encoding.source&gt;
              &lt;encoding.reporting&gt;${project.reporting.outputEncoding}&lt;/encoding.reporting&gt;
              &lt;java.source&gt;${maven.compiler.source}&lt;/java.source&gt;
              &lt;java.target&gt;${maven.compiler.target}&lt;/java.target&gt;
            &lt;/additionalProperties&gt;
        &lt;/configuration&gt;
      &lt;/plugin&gt;
  </code></pre>
  
  <p>Sorry for posting the full xml on pastebin but i'm not able to integrate it with the post itself, it gets al breaked and i receive error not letting me to create the post, i don't understand how it works.</p>
  
  <p>Please help cuz i'm getting creazy with this error.</p>