title: Java - Can't import com.package.*(wildcard)
body: <p>This may be a simple issue, but Google has returned nothing.</p>
  
  <p>I have read <a href="https://stackoverflow.com/questions/631682/help-with-packages-in-java-import-does-not-work">Help with packages in java - import does not work</a></p>
  
  <p>I still don't understand why a direct import will work but wildcard will not.
  [EDIT]
  By class package I mean a package of classes.  I am still new to Java so I do not know the semantics
  [EDIT]</p>
  
  <p>I have a class package: <code>com.company.functions</code>, when I try to <code>import com.company.*</code> I receive the following error.</p>
  
  <pre><code>java: package com.company does not exist
  </code></pre>
  
  <p>If I import <code>com.company.function</code> explicitly then I have no issues.  </p>
  
  <p>So I suppose that I have a solution but for the sake of learning, could someone explain why I see this issue?</p>
  
  <p>IDE:IntelliJ IDEA 12</p>
  
  <pre><code>import com.sociapathy.*;  &lt;--Throws compile error  java: package com.sociapathy does       not exist
  import com.sociapathy.databaseAccess.MySQL;  &lt;--Works just fine
  </code></pre>