title: Tomcat can't find class that is placed directly under classes folder
body: <p>I have the following JSP:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;%@ page import="foo.*" %&gt;
  &lt;html&gt;
      &lt;body&gt;
          The page count is:
          &lt;%=Counter.getCount()%&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>I have a <code>Counter</code> class in package <code>foo</code> which is stored in:</p>
  
  <blockquote>
    <p>C:\apache-tomcat-6.0.32\webapps\God\WEB-INF\classes</p>
  </blockquote>
  
  <p>And the container could find the class from its package <code>foo</code>.</p>
  
  <p>But when I try to add some other class file directly under <code>\WEB-INF\classes</code> and not in any specific package such as <code>foo</code>, then container can't find that class.</p>
  
  <p>How is this caused and how can I solve it?</p>