Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » JSP Validator Hates Spring's form:errors Tag
JSP Validator Hates Spring's form:errors Tag [message #222494] Tue, 30 September 2008 11:44 Go to next message
Joe Gallo is currently offline Joe Gallo
Messages: 3
Registered: July 2009
Junior Member
I was using Eclipse Ganymede 3.4.0, everything was fine, but now that I've
upgraded to 3.4.1 I'm getting extraneous errors in *most* of the JSPs in
my application.

The errors look like this:
- Syntax error on token "}", delete this token
- Syntax error on token "catch", Identifier expected
- Syntax error, insert "Finally" to complete TryStatement

All of them are at "line 0".

Of course, everything works fine at runtime. I've deleted my entire
Eclipse installation, and reinstalled it from scratch. Deleted my entire
workspace, and rebuilt it from scratch. Of course, the problems remain.

Oddly enough, I've tracked it down to a single custom tag, Spring's
"form:errors" tag. If I have the tag as self closing in a file
(<form:errors ... />), then that file gives me the errors. BUT, if I
change it to be a proper open/closing tag (which shouldn't be necessary),
then Eclipse suddenly is okay with things...

Any bright ideas? My best bet at this point is just to fall back to
Notepad and javac (or maybe just downgrade back to 3.4.0).

Joe
Re: JSP Validator Hates Spring's form:errors Tag [message #222563 is a reply to message #222494] Thu, 02 October 2008 14:49 Go to previous messageGo to next message
Eclipse User
Originally posted by: david_williams.linux.vnet.ibm.com

Joe Gallo wrote:
>
> Any bright ideas? My best bet at this point is just to fall back to
> Notepad and javac (or maybe just downgrade back to 3.4.0).
>
One additional idea is to open a bug! Sounds like a bad regression.
Re: JSP Validator Hates Spring's form:errors Tag [message #222591 is a reply to message #222494] Tue, 07 October 2008 04:46 Go to previous messageGo to next message
Nikolay is currently offline Nikolay
Messages: 1
Registered: July 2009
Junior Member
I have the same problem in Eclipse 3.4.0.
Maybe the problem caused by WTP
Re: JSP Validator Hates Spring's form:errors Tag [message #222608 is a reply to message #222494] Wed, 08 October 2008 16:18 Go to previous messageGo to next message
Gabriel Belingueres is currently offline Gabriel Belingueres
Messages: 2
Registered: July 2009
Junior Member
Hi,

Same issue. Everything was fine with 3.4.0. After migrating to 3.4.1 the
same errors arise in my JSPs (some of them, not all)
Re: JSP Validator Hates Spring's form:errors Tag [message #223841 is a reply to message #222494] Fri, 14 November 2008 11:46 Go to previous messageGo to next message
Greg Heidorn is currently offline Greg Heidorn
Messages: 1
Registered: July 2009
Junior Member
I'm experiencing the same problem and have been spending a lot of time
searching for a solution. I'm glad to have found this thread because it
has been driving me nuts. I even went so far as to install and configure
NetBeans...and after that experience I'm back, looking for a resolution to
this issue (I missed Eclipse!).

Has there been any progress on this issue or has a bug been filed?
Re: JSP Validator Hates Spring's form:errors Tag [message #223849 is a reply to message #223841] Fri, 14 November 2008 14:20 Go to previous messageGo to next message
Nick Sandonato is currently offline Nick Sandonato
Messages: 126
Registered: July 2009
Senior Member
Greg Heidorn wrote:
> I'm experiencing the same problem and have been spending a lot of time
> searching for a solution. I'm glad to have found this thread because it
> has been driving me nuts. I even went so far as to install and
> configure NetBeans...and after that experience I'm back, looking for a
> resolution to this issue (I missed Eclipse!).
>
> Has there been any progress on this issue or has a bug been filed?
>
https://bugs.eclipse.org/bugs/show_bug.cgi?id=249799 was opened to
address this.
Re: JSP Validator Hates Spring's form:errors Tag [message #224293 is a reply to message #223849] Tue, 25 November 2008 14:29 Go to previous messageGo to next message
todd is currently offline todd
Messages: 5
Registered: July 2009
Junior Member
I am fairly new to JSP and have read the solution.
It says it is fixed in jst.jsp version 3.03.
How do I get this and include it in my Eclipse environment.

If this is not the correct place to post this please redirect me to where
I should post this sort of question.

Thanks.
Re: JSP Validator Hates Spring's form:errors Tag [message #224303 is a reply to message #224293] Tue, 25 November 2008 15:27 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin Komissarchik
Messages: 937
Registered: July 2009
Senior Member
You can download any WTP release (including 3.0.3) from the following URL:

http://download.eclipse.org/webtools/downloads/
Re: JSP Validator Hates Spring's form:errors Tag [message #226295 is a reply to message #222494] Fri, 09 January 2009 05:44 Go to previous messageGo to next message
Gary McWilliams is currently offline Gary McWilliams
Messages: 5
Registered: July 2009
Junior Member
was there any resolution of this issue?
Re: JSP Validator Hates Spring's form:errors Tag [message #226306 is a reply to message #226295] Fri, 09 January 2009 10:44 Go to previous messageGo to next message
Nick Sandonato is currently offline Nick Sandonato
Messages: 126
Registered: July 2009
Senior Member
Gary McWilliams wrote:
> was there any resolution of this issue?
>
This was resolved in WTP 3.0.3 according to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=249799.
Re: JSP Validator Hates Spring's form:errors Tag [message #226341 is a reply to message #222494] Sat, 10 January 2009 03:29 Go to previous messageGo to next message
Armands is currently offline Armands
Messages: 1
Registered: July 2009
Junior Member
similar problems with Ganymede 3.4.1

Errors (17 items)
Syntax error on token "}", delete this token ... line 0 JSP Problem
Syntax error on token "catch", Identifier expected ... line 0 JSP Problem
Syntax error, insert "Finally" to complete TryStatement ... line 0 JSP
Problem

These errors are very annoying! Because the application is working fine.
Re: JSP Validator Hates Spring's form:errors Tag: (Workaround) [message #489042 is a reply to message #222494] Thu, 01 October 2009 07:00 Go to previous message
Knut Erik Ballestad is currently offline Knut Erik Ballestad
Messages: 1
Registered: October 2009
Junior Member
I have also experienced the same kind of problems on the latest Eclipse. By doing these steps, I made the problems go away:

Window-Preferences-Validation:
- untick 'Allow projects to override...
- tick 'Suspend all validators.

(maybe also this one, but I am not sure):
Window-Preferences-General-Editors-Structured text editors
- untick 'Report problems as you type...'

Then, right-click + 'Validate' on the project to reset validation markers. Voila!

The problem seems to be that after changing validation configuration, you have to manually trigger an update (by clicking validate).

[Updated on: Thu, 01 October 2009 07:01]

Report message to a moderator

Previous Topic:Problem with HTML content type
Next Topic:publish outright not working...it was before
Goto Forum:
  


Current Time: Fri Aug 01 02:01:34 EDT 2014

Powered by FUDForum. Page generated in 0.01853 seconds