I have just downloaded Ganymede 3.4.2 and added WTP 3.0.4 to it and this error has gone for me.
Up vote 6 down vote favorite 3 share g+ share fb share tw.
I just installed Ganymede and am exploring an old project in it. All of my JSPs are giving me weird validation errors. I'm seeing stuff like - Syntax error on token "}", delete this token Syntax error on token "catch", Identifier expected Syntax error, insert "Finally" to complete TryStatement I'm doing best practice stuff here, no scriplets or anything, so I think that Eclipse is incorrectly applying a Java class validator to my JSPs.
Any idea on how to stop that from happening? Under Options/Editors/File Associations I have the following for JSPs: JSP Editor (default) Web Page Editor Text Editor CSS JSP Editor Am I missing something? Also I think this is correct, but just in case it's not, here is my page directive - java eclipse validation jsp ganymede link|improve this question edited Sep 27 '08 at 19:00 asked Sep 27 '08 at 17:19bpapa7,37554689 94% accept rate.
I gave up on Ganymede because I couldn't find a way to turn off its validation. The errors you're seeing are from the Java code that Eclipse is generating from your JSP. It may be generating the wrong code because of a bug in your JSP, but if it can't identify the problem, what good is it?
– erickson Sep 27 '08 at 22:10.
I actually found out what my problem was through the eclipse webtools usergroup. The issue for me was the use of the Spring form custom tag library. If you self-close the tag... ...then you get the goofy JSP validation error.
If you close the tag as if there was body content... Then the error goes away. I need to follow-up with a bug for the Ganymede team.
It's not actually something about the editor itself. This usually happens because of A) custom tags that are missing a start or end tag cause an imbalance in the translation or B) is the result improper handling of scripting variable for custom tags by the JSP Validator. One's a fault in the JSP file and the other's the fault of the validator.
Neither will cause this problem in the upcoming WTP 3.0.3 and Ganymede SR2 releases.
Under preferences -> editors -> file associations, you can see which editor(s) are associated with . Jsp files. Perhaps it got associated with a wrong editor, and content checking.
You can find a reasonably good JSP editor in the Web Tools Platform (WTP) toolkit.
I just added what I'm seeing to the question... – bpapa Sep 27 '08 at 18:53.
I just ran a update for Software Updates->Gynemede Update Site-> "Web and Java EE Development" and the error seems to go away.
There's still a lot to go: bugs.eclipse.org/bugs/buglist.cgi?quicks... – BalusC Mar 7 '10 at 20:49.
I have the same issue. Whatever JSP editor is in Ganymede does not like my if/else scriptlets: Please login to view your account information. It tells me: Syntax error on token "}", delete this token Syntax error on token "catch", Identifier expected Syntax error, insert "Finally" to complete TryStatement ...on the final closing brace.
I have the same file associations as the original poster. I suppose I will try to find another JSP editor in the WTP toolkit, but I was under the impression that came with my build.
This is unfortunately a known bug apparently introduced in Service Release 1 of Ganymede (Eclipse Ganymede SR1, v 3.4.1). See the following pages for more information: coderanch.com/t/106846/IDEs-Version-Cont... eclipse.org/newsportal/article.php?id=17... The bug is fixed in WTP 3.0.3. Note that to get the fix through the Eclipse "Software Updates" function, you have to manually add the WTP update site to the list of sites that get searched during updates, by using the "Maage Sites..." function and check the Eclipse Webtools site.
Hm, I upgraded to 3.0.3, to no effect. This is happening mostly for -style includes. Incredibly frustrating -- makes it very hard to find real errors when I have 300+ of these.
Anyone have any luck going back to an earlier version of WTP?
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.