I have also seen this error at build time. As I recall, it has to do with the compliance level of your selected compiler. Try this: go to "Project" -> "Properties" -> "Java Compiler" and check the compiler compliance level that is selected under JDK compliance. This should be set to "1.4" for
Tomcat 5.5.x, and I think that's also true for Tomcat 5.0.x.
I also recall seeing an option to enable/disable pre-compiled JSP's at build time, and that also seems to be related to this kind of error, but I cannot find that option anywhere in my Eclipse 3.2 configuration. If you find this, try disabling it.
Good luck!
[ February 07, 2007: Message edited by: Philip Shanks ]
Philip Shanks, SCJP - Castro Valley, CA
My boss never outsources or has lay-offs, and He's always hiring. I work for Jesus! Prepare your resume!