title: Eclipse giving out an error while adding springframework dependency in maven .pom
body: <p>I created a Maven project in Eclipse using the webapp artifact and put the following lines in the .pom file upon reading an online tutorial. </p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.springframework&lt;/groupId&gt;
    &lt;artifactId&gt;spring&lt;/artifactId&gt;
    &lt;version&gt;3.0.5.RELEASE&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>In the tutorial however, the version is 2.5.6. I replaced it with 3.0.5.RELEASE considering its the latest version.</p>
  
  <p>But for this version eclipse is giving out an error </p>
  
  <pre><code>Missing artifact org.springframework:spring:jar:3.0.5.RELEASE:compile
  </code></pre>
  
  <p>What does this mean ? Can I add the required jar files to a lib folder and ask .pom file to take it from there as its being done in another tutorial on spring source website that uses Ant ?</p>
  
  <p>Also Maven projects come with a different directory structure and seems to be doing much more than what Ant does in the spring source tutorial. </p>
  
  <p>I am completely new to maven. in fact only a beginner in developing web applications using java. I did some tutorials from spring source and could deploy and run a spring mvc hello world app on apache tomcat. For this I used Ant and found it a great tool. But as I checked-out some example apps from spring source repo and it seems that Maven is more preferred and powerful than Ant. I am finding it a bit difficult to understand though. </p>
  
  <p>Thanks</p>