This has started happening since I started using m2eclipse so I'm guessing it's 
related, but perhaps not.

I have a jsp and it has the little red box with an x in it next to it in the 
package explorer.  In the eclipse Problems tab it has 3 errors, all with a 
Location of line 0;

Syntax error on toke "}", delete this token
Syntax error on token "catch", Identifier expected
Syntax error, insert "Finally" to complete TryStatement

Like the subject of this message says, it runs fine with tomcat.

Here's the start of the jsp file:

<%@
   page
   language="java"
   contentType="text/html; charset=ISO-8859-1"
   pageEncoding="ISO-8859-1"
%>

<%@
   taglib
   prefix="form"
   uri="http://www.springframework.org/tags/form";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd";>

<html>
<head>
       <title>waitlist</title>

My pom lists these dependencies (among others):

       <dependency>
           <groupId>javax.servlet</groupId>
           <artifactId>jstl</artifactId>
       </dependency>

       <dependency>
           <groupId>taglibs</groupId>
           <artifactId>standard</artifactId>
       </dependency>

       <!-- provided -->
       <dependency>
           <groupId>org.apache.tomcat</groupId>
           <artifactId>servlet-api</artifactId>
       </dependency>

       <!-- provided -->
       <dependency>
           <groupId>org.apache.tomcat</groupId>
           <artifactId>jsp-api</artifactId>
       </dependency>

(The version numbers and scope are specified in the parent pom in its 
dependencyManagement section.)

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to