title: Java/JSP WEB-INF/classes can't import
body: <p>Its been a while since I had to do some Java/JSP...</p>
  
  <p>I have a java class in WEB-INF/classes/MyClass.java
  The build in Netbeans is successful and I can see MyClass.class in the classes folder.</p>
  
  <p>In my jsp page, I've got</p>
  
  <pre><code>&lt;%@ page import="MyClass" %&gt;
  </code></pre>
  
  <p>Tomcat says that the import cannot be resolved...</p>
  
  <p>I tried to put MyClass in a package(WEB-INF/com/MyClass) and then import the package into my Jsp file. The import doesnt throw an error anymore then, but I cannot instanciate a MyClass object, says the type is unresolved...</p>
  
  <p>What am I doing wrong here..?</p>
  
  <p>All help appreciated! :)</p>