title: Failed to load Main-Class manifest attribute while running java -jar
body: <p>I have successfully built my Spring MVC project with <code>mvn clean package</code> by following <a href="http://spring.io/guides/gs/serving-web-content/" rel="noreferrer">this tutorial</a>.</p>
  
  <p>Now I am trying to run the service with:</p>
  
  <pre><code>mvn clean package &amp;&amp; java -jar target/gs-serving-web-content-0.1.0.jar
  </code></pre>
  
  <p>But I get this error:</p>
  
  <p><strong>Failed to load Main-Class manifest attribute from
  target/gs-serving-web-content-0.1.0.jar</strong></p>
  
  <p>Am I missing something?</p>