title: What do I need for autocomplete and ctrl+click to work in eclipse after importing a project from Perforce and converting it to a maven project?
body: <p>Currently I have perforce that I am importing my project into eclipse from. After I import my project into eclipse I right click on the project go to configure and convert to maven project. After doing all of this I do NOT have autocomplete for the code working and I do NOT have ctrl+click working.</p>
  <h3>System Specs:</h3>
  <ul>
  <li>OS: Windows 7 x64</li>
  <li>RAM: 8gb</li>
  <li>CPU: Intel core i5</li>
  <li>HDD: 128gb SDD</li>
  <li>Eclipse Version: Juno 4.2 JavaEE</li>
  <li>Maven m2e Version: 1.1.0</li>
  <li>Perforce Version: 2012.2.486944</li>
  </ul>
  <h3>Attempts at a Fix</h3>
  <ol>
  <li>I have noticed that when I right click on my project and look to go to Java Build Path it does not exist.</li>
  <li>Under my right click menu properties and under builders I only have &quot;Maven Project Builder&quot;</li>
  <li>I have tried to add the proper <code>&lt;buildCommand&gt;</code> for the java builder and the proper <code>&lt;natures&gt;</code> in the <code>.project</code> file. This does NOT fix my issue but does add the Java Build Path I couldn't see in 1. (below is my unaltered .project file)</li>
  <li>I have navigated to the <code>.metadata&gt;.plugins</code> and deleted the <code>org.eclipse.jdt.core</code> to eclipse rebuild its indices.</li>
  </ol>
  <h3>Error Received when trying ctrl+click autocomplete or a right click&gt;References&gt;Workspace</h3>
  <p><em>The resource is not on the build path of a Java project</em></p>
  <h3><code>.project</code> file</h3>
  <pre><code>    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
      &lt;projectDescription&gt;
          &lt;name&gt;project&lt;/name&gt;
          &lt;comment&gt;&lt;/comment&gt;
          &lt;projects&gt;
          &lt;/projects&gt;
          &lt;buildSpec&gt;
              &lt;buildCommand&gt;
                  &lt;name&gt;org.eclipse.m2e.core.maven2Builder&lt;/name&gt;
                      &lt;arguments&gt;
                      &lt;/arguments&gt;
              &lt;/buildCommand&gt;
          &lt;/buildSpec&gt;
          &lt;natures&gt;
              &lt;nature&gt;org.eclipse.m2e.core.maven2Nature&lt;/nature&gt;
          &lt;/natures&gt;
      &lt;/projectDescription&gt;
  </code></pre>
  <p>Is there something simple that I have overlooked, or a step that I forgot to do? Any help regarding this issue would be great.</p>
  <p>(*<em>I have searched though issues relating to the ctrl+click and the autocomplete but none of the solutions that I have found have helped and none seem to match the eclipse+perforce+maven issue, but sorry in advance if this topic was covered in a different post</em>)</p>