Maven dependencies are downloaded but not recognized inside project
<p>I want to build a project which has some external libraries. I included <code>pom.xml</code> file inside intellij and it downloaded all of required dependencies files from maven and put them as external libraries, but my project doesn't recognize them and gives compilation error. IDE screen attached below.</p>

<p>this is one of the compilation errors that I get:</p>

<pre><code>Error:(29, 33) java: package com.google.common.collect does not exist
</code></pre>

<p>here is the my external libraries which I think are added correctly.
<a href="https://i.stack.imgur.com/YuPvQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YuPvQ.png" alt="enter image description here"></a></p>

<p>I don't have maven installed but I think IntelliJ handles it by it self.</p>

<p><a href="https://i.stack.imgur.com/Wot6s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Wot6s.png" alt="Error screen shot"></a> </p>