title: Element cannot be resolved to a type
body: <pre><code>import org.jsoup.*;
  import org.w3c.dom.Document;
  
  public class jsoup {
      /**
       * @param args
       */
      public static void main(String[] args) {
          // TODO Auto-generated method stub
          String html = "&lt;html&gt;&lt;head&gt;&lt;title&gt;First parse&lt;/title&gt;&lt;/head&gt;"
                      + "&lt;body&gt;&lt;p id='xxx'&gt;Parsed HTML into a doc.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;";
          Document doc = (Document)Jsoup.parse(html);
          Element el = doc.getElementById("xxx"); 
      }
  }
  </code></pre>
  
  <p>When I run code above, I receive a </p>
  
  <blockquote>
    <p>error:Element cannot be resolved to a type in line "Element el = doc.getElementById("xxx");"</p>
  </blockquote>
  
  <p>Can you help me?</p>