title: Errors while importing Maven project into Eclipse
body: <p>When I imported <code>Existing Maven Projects</code> downloaded from open-source-website(eg. Apache, Github) into <code>Eclipse</code>, Several errors happened :( . <b>Note that, all maven projects can correctly compile and test under the Eclipse</b>.</p>
  
  <ul>
  <li>Firstly, after importing maven projects into Eclipse, there will be a <code>red X</code> on the project icon, but there are no error in projects. I found there exist <code>parent</code> node in <code>pom.xml</code> file. I deleted the node then the error is gone, I want to know why since there is no module in maven project. the following code is the node I deleted before.</li>
  </ul>
  
  <pre>&#60parent&#62
      &#60groupId&#62 org.apache.commons &#60/groupId&#62
      &#60artifactId&#62 commons-parent &#60/artifactId&#62
      &#60version&#62 38&#60/version&#62
    &#60/parent&#62
  </pre> 
  
  <ul>
  <li><p>Next, In the project <code><a href="http://jaxen.org/" rel="nofollow noreferrer">jaxen</a></code>, this project's structure is odd. In the project I just found <code>src/java/main</code> and <code>src/java/test</code> rather than <b>src/main/java</b> and <b>src/test/java</b>, is there any other configuration I should do even though it can correctly run under Eclipse?</p></li>
  <li><p>What's more, I also found errors in code sources of <code>jaxen</code>, <a href="https://i.stack.imgur.com/7JaEH.jpg" rel="nofollow noreferrer">See this picture</a>, the error information is partial given as follows, look for your help and thanks in advance :)</p></li>
  </ul>
  
  <pre>
  Failure to transfer xerces:xmlParserAPIs:jar:2.6.2 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact xerces:xmlParserAPIs:jar:2.6.2 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled.
  
  org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer xerces:xmlParserAPIs:jar:2.6.2 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact xerces:xmlParserAPIs:jar:2.6.2 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled.
      at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:238)
      at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
  </pre>