title: Method not present class linking issue: when calling methods from classes with same name and project path in two linked java projects
body: <p>I have simulated two systems as two java project in eclipse and thus both projects have files with the same name and project path.</p>
  
  <p>When <code>project1.Class1</code> refers to <code>project2.Class2</code>, <code>Class2</code> must refer to its dependent files say <code>classes3</code> from <code>Project2</code>.</p>
  
  <p>Instead, it uses <code>Project1</code> file <code>classes3</code> at runtime due to the same name and project path.</p>
  
  <p>I have already added <code>project1</code> in <code>project2</code> through Build Path Configurations of <code>project2</code>.</p>
  
  <p>How to resolve this runtime linking issue in java?</p>