title: "Import cannot be resolved" with JSP
body: <p>I am trying to call a Java class from a JSP page. I have created the project using JDeveloper.</p>
  
  <p>I am getting an error that says "The import cannot be resolved".  I have added the Class file in WEB-INF, root folder, and tried compiling, but it still shows the same error.</p>
  
  <p>Below is the code:</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;p&gt;  
              &lt;%@ page import="java.util.*"%&gt;
              &lt;%@ page import="Class1"%&gt;
              &lt;% 
                  Class1 tc=new Class1("test");
                  out.print(tc.str);
              %&gt;
          &lt;/p&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>