title: How to fix Maven, Maven Configuration and Maven Dependency Problems in Eclipse
body: <p><strong>Edit:</strong> I have not resolved this problem yet but this post could be really useful in this kind of problems:</p>
  
  <p><a href="https://stackoverflow.com/q/12533885/3224038">How to fix your Maven problems</a></p>
  
  <hr>
  
  <p>I did <strong>svn checkout</strong> of my maven project to directory MainDirectory. Everything went well.</p>
  
  <p>Next, I went to MainDirectory and I run command </p>
  
  <blockquote>
    <p>mvn clean package</p>
  </blockquote>
  
  <p>with <em>BUILD SUCCESS</em></p>
  
  <p>I went to directory of my project MainDirectory/MyProject and I run the same command, once again it worked well.</p>
  
  <p>I run Eclipse and I wanted to import "<strong>Existing Maven Projects</strong>". I chose MainDirectory as RootDirectory and I got a warning:</p>
  
  <p><img src="https://i.stack.imgur.com/AoJAO.png" alt="Warning"></p>
  
  <p>I clicked next and I saw few errors:</p>
  
  <p><img src="https://i.stack.imgur.com/EaW0D.png" alt="Errors"></p>
  
  <p>Anyhow, I clicked finish (because of <em>Action: Resolve Later</em>)</p>
  
  <p>I was waiting few seconds and I saw this error:</p>
  
  <p><img src="https://i.stack.imgur.com/eLPSE.png" alt="Error2"></p>
  
  <p>but my projects are visible in Project Explorer.</p>
  
  <p>I was carrying on. I imported second "<strong>Existing Maven Projects</strong>" - MainDirectory/MyProject. This time, I had no warning. I clicked next and errors appeared:</p>
  
  <p><img src="https://i.stack.imgur.com/krfnJ.png" alt="Error3"></p>
  
  <p>I clicked finish and another error appeared:</p>
  
  <p><img src="https://i.stack.imgur.com/DutBr.png" alt="Error4"></p>
  
  <p>Anyhow, new project exists now in Project Explorer.</p>
  
  <p>I went to <strong>Project->Clean</strong> and I chose all my projects. Once again I got an error:</p>
  
  <p><img src="https://i.stack.imgur.com/v24uk.png" alt="Error5"></p>
  
  <p>Finally, I tried <strong>Maven->Update Project</strong> and another error appeared:</p>
  
  <p><img src="https://i.stack.imgur.com/r8QoS.png" alt="Error6"></p>
  
  <p>I was trying to clean somehow my local repo but I am not sure if I did it correctly.</p>
  
  <p>Finally in Eclipse I see errors as below:</p>
  
  <p><img src="https://i.stack.imgur.com/PxtA4.png" alt="enter image description here"></p>
  
  <p>In fact, I have already done this procedure once few days ago and everything worked perfectly.</p>
  
  <p>When I run my application:</p>
  
  <pre><code>mvn jetty:run
  </code></pre>
  
  <p>It works perfectly.</p>
  
  <p>Thank you in advance</p>