Error after creating a maven project in Spring STS 3.0
<p>I'm trying to follow a tutorial from a site about Spring mvc. And there the very first step was to create a project in Spring STS 3.0.0. I downloaded that and created a project as it described.</p>

<p>But the project structure was not the same and there are some errors also.</p>

<p><code>Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.1.1:runtime Cause: error in opening zip file</code></p>

<p>As in the picture the <code>Maven Dependencies</code> and <code>JRE System Library</code> are missing here. And in the POM.xml there is the above error also.</p>

<p><a href="https://i.stack.imgur.com/AiqST.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AiqST.png" alt="enter image description here"></a></p>

<p>The expected project structure is,</p>

<p><a href="https://i.stack.imgur.com/QyPDK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QyPDK.png" alt="enter image description here"></a></p>

<p>And when I try to `clean install the project it will also failed.</p>

<p><code>Failed to parse plugin descriptor for org.apache.maven.plugins:maven-war-plugin:2.1.1 (C:\Users\Intel\.m2\repository\org\apache\maven\plugins\maven-war-plugin\2.1.1\maven-war-plugin-2.1.1.jar): error in opening zip file -&gt; [Help 1]</code></p>

<p>What am I missing here ?</p>

<p>I used <code>org.apache.maven.archetypes / maven-archetype-webapp / 1.0</code></p>