title: IntelliJ not updating updated Maven dependencies
body: <p>I have been using <a href="http://mvnrepository.com/artifact/org.apache.commons/commons-io/1.3.2" rel="nofollow noreferrer">version 1.3.2</a> of <a href="https://commons.apache.org/proper/commons-io/" rel="nofollow noreferrer"><code>commons-io</code></a> before for project A. On project B I used the newest <a href="http://mvnrepository.com/artifact/commons-io/commons-io/2.4" rel="nofollow noreferrer">version 2.4</a>. Now I want to add Project B's <code>JAR</code> as library to project A. Since project B uses functionalities that didn't exist yet in commons-io version 1.3.2 I updated the <code>pom.xml</code> of project A to use version 2.4 for commons-io:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;commons-io&lt;/groupId&gt;
      &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
      &lt;version&gt;2.4&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Now when I try to run the code in project A which calls libraries in project B, I'm getting</p>
  
  <pre><code>Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z
  </code></pre>
  
  <p>since <a href="https://www.jetbrains.com/idea/" rel="nofollow noreferrer"><code>IntelliJ</code></a> didn't seem to realize that the libraries have updated.</p>
  
  <p>I tried <a href="https://stackoverflow.com/a/29765077/3764804">re-importing the Maven dependencies</a> and deleting the local directory containing the commons-io libraries <code>C:\Users\Name\.m2\repository\commons-io</code> but that didn't work either. How do I fix this and make IntelliJ become aware of the updated classes such as <code>FileUtils</code>? Their decompiler for example shows me the old byte code version still when I peek definitions but it is supposed to update it according to the <code>pom.xml</code>.</p>
  
  <p>I have <a href="https://stackoverflow.com/a/16993387/3764804">import Maven projects automatically</a> checked by the way.</p>