File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes TLD/Taglib/Tomcat Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "TLD/Taglib/Tomcat Problem" Watch "TLD/Taglib/Tomcat Problem" New topic

TLD/Taglib/Tomcat Problem

Zac Roberts
Ranch Hand

Joined: Jan 29, 2002
Posts: 82
I am trying to create a simply tag library and I am having problems... the tomcat error I am getting is as follows:
apache.jasper.JasperException: XML parsing error on file /WEB-INF/updates.tld: (line 12, col 14): Element type "tag-class" must be declared.
Here is my TLD file:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
What could be the problem?
Thanks for any help...

Zac Roberts<br />SCJP2
Shashank Tanksali
Ranch Hand

Joined: Feb 21, 2001
Posts: 122
Try replacing

<b><br /><a href="" target="_blank" rel="nofollow">Shashank Tanksali</a><br /><i><br />SCJP2,SCJD2,SCWCD<br />IBM Certified Developer - XML and Related Technologies<br />PMI Certified Project Management Professional<br /></i><br /></b>
I agree. Here's the link:
subject: TLD/Taglib/Tomcat Problem
It's not a secret anymore!