3 Replies Latest reply on Jun 9, 2004 3:06 PM by kabirkhan

    help with Digester? errors

    garyg

      I'm getting the following error when I start up my app and not sure why. The error says I have no matching types, but I've listed my *.tld below and include all the necessary tags as far as i know.

      Can anyone offer suggestions or ideas ...

      --- jboss-3.2.3 output ---
      ...
      11:43:45,813 INFO [EmbeddedTomcatService] ClusteredHTTPSessionService not found11:43:45,814 ERROR [EmbeddedTomcatService] Failed to setup clustering, clustering disabled
      11:43:48,054 ERROR [Digester] Parse Error at line 8 column 10: The content of element type "taglib" is incomplete, it must match "(tlib-version,jsp-version,short-name,uri?,display-name?,small-icon?,large-icon?,description?,validator?,listener*,tag+)".
      org.xml.sax.SAXParseException: The content of element type "taglib" is incomplete, it must match "(tlib-version,jsp-version,short-name,uri?,display-name?,small-icon?,large-icon?,description?,validator?,listener*,tag+)".
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
      at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296)
      at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2959)

      --- myapp-ui.tld ---

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">


      <tlib-version>1.0</tlib-version>
      <jsp-version>1.2</jsp-version>
      <short-name>myapp</short-name>