title: spring tool suite maven project adding libraries dependencies
body: <p>I am about to give up on spring here; having come from .NET world and needing to learn java I was directed to spring as being the best environment to learn. I was given a sample project to work on with the class files and a whole bunch of dependencies. I created a maven project and then added the external jars in the configure build path. I added all the classes to my src/main/java/com/projectname folder. 
  One of the build errors include not finding org.apache.jcs so I figured I need to find this library externally. Looked online and found a dependency to add to my pom file.</p>
  
  <pre><code>&lt;dependency&gt;
  &lt;groupId&gt;org.apache&lt;/groupId&gt;
  &lt;artifactId&gt;apache&lt;/artifactId&gt;
  &lt;version&gt;14&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Now I would assume that this would resolve any issues but now I get the error:</p>
  
  <pre><code>Could not find artifact org.apache:apache:jar:14 in central (http://repo.maven.apache.org/maven2
  </code></pre>
  
  <p>I still do not understand how libraries are added in STS. In Visual Studio I will either download the library and point the reference to that library and all is fine or download using Nuget package manager. So am I still in fact missing this library or is there some other issue. Also I found a couple of tutorials to run a project but those are not helping me resolve this issues.</p>
  
  <p>Any advice or direction to online sources will be appreciated.</p>
  
  <p>EDIT:</p>
  
  <p>I added the line below to my pom file but got a new error:</p>
  
  <pre><code>The container 'Maven Dependencies' references non existing 
  library 'C:\Users\me\.m2\repository\org\apache\http\jcs\1.3\jcs-1.3.jar'    
  "Description Resource   Path    Location    
  Type Missing artifact org.apache.http:jcs:jar:1.3   pom.xml /   
   line 29    Maven Dependency Problem "
  </code></pre>