I am having a hell of a time trying to deploy an app I wrote in JDeveloper on
tomcat.  I put the war file under the webapps directory and when I start
tomcat is creates a folder for it but I get some errors messages.

Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
PARSE error at line 1 column 238
org.xml.sax.SAXParseException: Element type "taglib" must be declared.
PARSE error at line 2 column 200
org.xml.sax.SAXParseException: Element type "taglib" must be declared.
PARSE error at line 1 column 238
org.xml.sax.SAXParseException: Element type "taglib" must be declared.
Starting service Tomcat-Apache
Apache Tomcat/4.0.1


Here is my web.xml where I think the problem is: 
<?xml version="1.0" encoding="WINDOWS-1252"?>

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
<web-app>


   <taglib>
            <taglib-uri>/WEB-INF/music.tld</taglib-uri>
            <taglib-location>/WEB-INF/music.tld</taglib-location>
        </taglib>
 <!--   </jsp-config>  -->
</web-app>


Any help on how I can declare taglib would be great also is my web.xml ok
for tomcat 4.0.1?
-- 
View this message in context: 
http://www.nabble.com/element-type-%22taglib%22-must-be-declared-tp23841581p23841581.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to