title: calling a class in another project Eclipse
body: <p>I have a project "A" and I need to call a class "c" from another project "B".</p>
  
  <p>I have done the following. Click in "A" -->Properties -->Build Path --> and in one tab of Java Source I selected the project B. --> Accept</p>
  
  <p>Now I can create objets of Class "c" but when I run the project I get "ClassNotFoundException"</p>
  
  <p><strong>Update,</strong></p>
  
  <p>I keep getting java.lang.ClassNotFoundException.</p>
  
  <p>In "JSF" -->Properties -->Build Path --> Projects ---> I Added the Project:</p>
  
  <p><img src="https://i.stack.imgur.com/uXiNi.jpg" alt="enter image description here"></p>
  
  <p>In Run --> Run Configurations --> ClassPath I had:</p>
  
  <p><img src="https://i.stack.imgur.com/ENMlX.jpg" alt="enter image description here"></p>
  
  <p>and now I have added the project "JIRA" and "JIRA dependencies"
  <img src="https://i.stack.imgur.com/OnJiG.png" alt="enter image description here"></p>
  
  <p>JIRA project has this dependencies:</p>
  
  <p><img src="https://i.stack.imgur.com/vnB1y.jpg" alt="enter image description here"></p>
  
  <p>And I get the following error:</p>
  
  <p><img src="https://i.stack.imgur.com/JxrQo.jpg" alt="enter image description here"></p>
  
  <p>but this class is in M2_REPO:</p>
  
  <p><img src="https://i.stack.imgur.com/ivTtK.jpg" alt="enter image description here"></p>
  
  <p><strong>SOLUTION</strong></p>
  
  <p>I add "JIRA dependencies" only in JARs without Maven:
  <img src="https://i.stack.imgur.com/txbKW.jpg" alt="enter image description here">
  and now it´s run.</p>