title: Using Ctrl + N, Intellij cannot find a class in a maven dependency unless it's specified in the pom
body: <p>I've just raised a corresponding issue <a href="http://youtrack.jetbrains.com/issue/IDEA-113045" rel="nofollow noreferrer"><strong>here</strong></a>.</p>
  
  <p>The issue is, if I try to search for a class which is inside a maven dependency, then Intellij (EAP Cardea v. 132.27 running using jdk1.7.0_25) cannot seem to find this class even with the 'Include non-project classes' checked.</p>
  
  <p><img src="https://i.stack.imgur.com/ovEmM.png" alt="enter image description here"></p>
  
  <p>The class in question is PoolableConnectionFactory in the following depedency:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;commons-dbcp&lt;/groupId&gt;
      &lt;artifactId&gt;commons-dbcp&lt;/artifactId&gt;
      &lt;version&gt;1.4&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>However, as soon as I add to the project's pom, the class is found.</p>
  
  <p><img src="https://i.stack.imgur.com/Zk7UY.png" alt="enter image description here"></p>
  
  <p>I have already tried doing an 'Invalidate Caches and Restart' and have also tried re-indexing the local maven repo <em>after</em> deleting Intellij's system folder.</p>
  
  <p>My maven settings are as follows:</p>
  
  <p><img src="https://i.stack.imgur.com/U6GPt.png" alt="enter image description here">
  <br></p>
  
  <p><img src="https://i.stack.imgur.com/zyVvs.png" alt="enter image description here"></p>