File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse 3.4 JSP Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse 3.4 JSP Problem" Watch "Eclipse 3.4 JSP Problem" New topic

Eclipse 3.4 JSP Problem

Yohan Liyanage
Ranch Hand

Joined: Aug 17, 2007
Posts: 132


I recently moved to Ubuntu (Hardy) from Windows and installed Eclipse Ganymede SR1 - JEE Bundle for Linux, and opened some of my previous projects in the Eclipse IDE. I was suprised to see Warnings in my project (which was not there previously), highlighting the page directive declaration of my JSPs.

The line highlighted was:

The Warning is:

I tested the same thing on a fresh project, and Eclipse shows this message even for newly generated JSP files (using the Wizard).

Is there any way to solve this issue ?

Thanks in advance.
[ October 02, 2008: Message edited by: Yohan Liyanage ]

Yohan Liyanage
Juan Pablo Rostra

Joined: Oct 12, 2008
Posts: 2
Also experiencing same "problem". Will post solution if I find it...

By the way, a workaround to avoid this warning from appearing is changing the warning level from "warning" to "ignore" in Preferences > Web > HTML Files > Validation > Invalid empty element tag
[ October 12, 2008: Message edited by: Juan Pablo Rostra ]
Yohan Liyanage
Ranch Hand

Joined: Aug 17, 2007
Posts: 132

Thanks Juan .
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15092

I'm also using Eclipse 3.4 SR1 on both Windows and Ubuntu (Linux). I've noticed many of these kinds of problems - especially in JavaScript files I get many bogus warnings and errors.

I guess that the Web Tools in this Eclipse version are unfortunately quite buggy...

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
R. Duval

Joined: Sep 16, 2008
Posts: 11

WTP seems very buggy in Ganymede. I've experienced some related problems (Ganymede bug using jsp include directive) and as far as I noticed and read, only workarounds like disabling the validators will do the trick.
I agree. Here's the link:
subject: Eclipse 3.4 JSP Problem
It's not a secret anymore!