title: Validation problem with JSP and Eclipse
body: <p>I have this simple JSP page in Eclipse and the first line in the file is:</p>
  
  <blockquote>
    
  </blockquote>
  
  <p>Eclipse however, puts a yellow warning icon before this line with the following tooltip message:</p>
  
  <blockquote>
    <p>Multiple annotations found at this
    line:<br />
    - Line breakpoint:index.jsp [line: 1]<br />
    - Tag (jsp:directive.page) should be an empty-element tag.</p>
  </blockquote>
  
  <p>Does anyone know why this is?</p>
  
  <p><strong>UPDATE</strong>:</p>
  
  <p>This is my full source script. This is basically the template that Eclipse generates for me when I create a new JSP file based on the XHTML template. I only slightly modified the content to make it do something 'use full'. </p>
  
  <p>I'm using Eclipse 3.4 (eclipse-jee-ganymede-SR1-linux-gtk.tar.gz) on Ubuntu 8.10 with the Geronimo 2.1 plug-in (I don't think that matters though). I had this same problem with every version of Eclipse I've used so far (3.0 and up)</p>
  
  <pre><code>&lt;%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
  &lt;jsp:useBean id="datetime" class="java.util.Date" /&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Hello Geronimo&lt;/title&gt;
  
          &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div&gt;
              &lt;h1&gt;Hello Apache Geronimo!!!&lt;/h1&gt;on ${datetime}
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>