title: An enclosing instance that contains <my reference> is required
body: <blockquote>
    <p>An enclosing instance that contains  is required</p>
  </blockquote>
  
  <p>Below is the code. <code>positionObj</code> is the object that I am trying to use and it is giving me the above error.</p>
  
  <p>It's unclear why.</p>
  
  <pre><code>package toolBox;
  import toolBox.Secretary.positionObj;    
  
  public class PositionManagement {
      public static HashMap&lt;String, Secretary.positionObj&gt; main(String vArg){
          positionObj newPosition=new positionObj();
      }
  }
  </code></pre>