title: "constructor has private access" error message
body: <p>I'm working in Java and have come across an incredibly odd error.  I have a very basic class as follows:</p>
  
  <pre><code>public class ClassA{
     private static Logger log = Logger.getLogger(ClassA.class.getName());
     private boolean trace;
  
     public ClassA(){
        trace = log.isTraceEnabled();
     }
  
     public void doSomething(){
        //does stuff
     }
  }
  </code></pre>
  
  <p>I can use this class just fine within my current project.  However, when I build, package, and install to my local repo (using Maven, no remote artifact repo set up), other projects cannot properly use this  class because they cannot instantiate it.  When I try anything like:</p>
  
  <pre><code>ClassA classA = new ClassA();
  </code></pre>
  
  <p>I get the following compilation error:</p>
  
  <pre><code>ClassA() has private access in [package].ClassA
  </code></pre>
  
  <p>I've decompiled the .jar in my local repo to ensure the constructor is present and is public - it is.  I've also used the -U flag to force updates and the compilation continues to fail.  What could be causing this error?</p>