title: "Cannot resolve symbol" when trying to import classes from a jar deployed in my custom maven nexus repo
body: <p>It's not my first time reading deployed jars from my custom maven nexus repo (my setting.xml is correctly written ), but unfortunately, this time I wasn't able to import classes from a new deployed spring-boot jar, although it does exist in the project classpath.</p>
  <pre><code>Cannot resolve symbol 'test'
  </code></pre>
  <p>ps:  the jar code snippet in my <code>pom.xml</code> is as below</p>
  <pre><code>       &lt;project&gt; 
       ...
          &lt;dependency&gt;
                  &lt;groupId&gt;cc.test&lt;/groupId&gt;
                  &lt;artifactId&gt;jar-name&lt;/artifactId&gt;
                  &lt;version&gt;0.1.4&lt;/version&gt;
              &lt;/dependency&gt; 
      ....
   &lt;/project&gt;
  </code></pre>