This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSP and the fly likes error in tld file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "error in tld file" Watch "error in tld file" New topic

error in tld file

Saranya Sivakumar

Joined: Aug 09, 2010
Posts: 13
privilager.tld file

<taglib xmlns=""

Error :

cvc-complex-type.2.4.b: The content of element 'tag' is not complete. One of '{"":tei-class, "
javaee":body-content}' is expected.

Please help me to solve this error.

Thanks in advance.

Stefan Evans

Joined: Jul 06, 2005
Posts: 1519
I don't see any problem with this file.
Neither does my Eclipse.
Your body-content tag is present, and in the right location. but the error message intimates that the computer can't find it.

Where do you get this message?
In an IDE?
While running?

Try re-writing the file from scratch in your editor. My guess would be something to do with file encoding/line endings.

I agree. Here's the link:
subject: error in tld file
jQuery in Action, 3rd edition