Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1547

the HstFreemarkerServlet loading the hst-core.tld logs many warnings and errors

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • 2.20.03
    • 2.20.04, 2.21.00
    • None
    • None

    Description

      Although I think everything works, the HstFreemarkerServlet results in many error and warning logs during startup / first request. I think it is related and a result of HSTTWO-1376 (removing the HstFreemarkerServlet from the archetype created website make the error logs disappear)

      Reproduce: Create a skeleton project with the archetype. Start the cms & site and visit the homepage. This results in

      Document is invalid: no grammar found.
      Warning: validation was turned on but an org.xml.sax.ErrorHandler was not
      set, which is probably not what is desired. Parser will use a default
      ErrorHandler to print the first 10 errors. Please call
      the 'setErrorHandler' method to fix this.
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/springframework/spring-webmvc/3.0.4.RELEASE/spring-webmvc-3.0.4.RELEASE.jar!META-INF/spring.tld Line=5: Document root element "taglib", must match DOCTYPE root "null".
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/springframework/spring-webmvc/3.0.4.RELEASE/spring-webmvc-3.0.4.RELEASE.jar!META-INF/spring.tld Line=5: Document is invalid: no grammar found.
      Warning: validation was turned on but an org.xml.sax.ErrorHandler was not
      set, which is probably not what is desired. Parser will use a default
      ErrorHandler to print the first 10 errors. Please call
      the 'setErrorHandler' method to fix this.
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=20: Attribute "xmlns" with value "http://java.sun.com/xml/ns/javaee" must have a value of "http://java.sun.com/JSP/TagLibraryDescriptor".
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=20: Attribute "version" must be declared for element type "taglib".
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=20: Attribute "xmlns:xsi" must be declared for element type "taglib".
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=20: Attribute "xsi:schemaLocation" must be declared for element type "taglib".
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=773: Element type "function" must be declared.
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=778: Element type "function-class" must be declared.
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=779: Element type "function-signature" must be declared.
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=787: The content of element type "taglib" must match "(tlib-version,jsp-version,short-name,uri?,display-name?,small-icon?,large-icon?,description?,validator?,listener*,tag+)".
      Warning: validation was turned on but an org.xml.sax.ErrorHandler was not
      set, which is probably not what is desired. Parser will use a default
      ErrorHandler to print the first 10 errors. Please call
      the 'setErrorHandler' method to fix this.
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=20: Attribute "xmlns" with value "http://java.sun.com/xml/ns/javaee" must have a value of "http://java.sun.com/JSP/TagLibraryDescriptor".
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=20: Attribute "version" must be declared for element type "taglib".
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=20: Attribute "xmlns:xsi" must be declared for element type "taglib".
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=20: Attribute "xsi:schemaLocation" must be declared for element type "taglib".
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=773: Element type "function" must be declared.
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=778: Element type "function-class" must be declared.
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=779: Element type "function-signature" must be declared.
      Error: URI=jar:file:/home/uhommes/.m2/repository/org/onehippo/cms7/hst/hst-client/2.20.03/hst-client-2.20.03.jar!META-INF/hst-core.tld Line=787: The content of element type "taglib" must match "(tlib-version,jsp-version,short-name,uri?,display-name?,small-icon?,large-icon?,description?,validator?,listener*,tag+)".

      Attachments

        Issue Links

          Activity

            People

              aschrijvers Ard Schrijvers
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: