Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Fixed
-
1.02.04
-
None
-
None
Description
At least since version 1.02.03 I'm getting a huge load of startup errors in the console when jetty:running the site. I don't know if xml validation was turned on somehow between versions or something else relating to xml parser configuration changed. Gogreen has the same issue btw.
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=file:/home/uhommes/Code/sandbox/projects/mynewproject/site/src/main/webapp/WEB-INF/web.xml Line=4: Document root element "web-app", must match DOCTYPE root "null".
Error: URI=file:/home/uhommes/Code/sandbox/projects/mynewproject/site/src/main/webapp/WEB-INF/web.xml Line=4: 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/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/c.tld Line=6: Document root element "taglib", must match DOCTYPE root "null".
Error: URI=jar:file:/home/uhommes/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/c.tld Line=6: 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/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/fmt.tld Line=6: Document root element "taglib", must match DOCTYPE root "null".
Error: URI=jar:file:/home/uhommes/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/fmt.tld Line=6: 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/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/fn.tld Line=6: Document root element "taglib", must match DOCTYPE root "null".
Error: URI=jar:file:/home/uhommes/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/fn.tld Line=6: 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/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/permittedTaglibs.tld Line=6: Document root element "taglib", must match DOCTYPE root "null".
Error: URI=jar:file:/home/uhommes/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/permittedTaglibs.tld Line=6: 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/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/scriptfree.tld Line=6: Document root element "taglib", must match DOCTYPE root "null".
Error: URI=jar:file:/home/uhommes/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/scriptfree.tld Line=6: 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/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/sql.tld Line=6: Document root element "taglib", must match DOCTYPE root "null".
Error: URI=jar:file:/home/uhommes/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/sql.tld Line=6: 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/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/x.tld Line=6: Document root element "taglib", must match DOCTYPE root "null".
Error: URI=jar:file:/home/uhommes/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar!META-INF/x.tld Line=6: 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-form.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-form.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/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
- waits for
-
HSTTWO-1547 the HstFreemarkerServlet loading the hst-core.tld logs many warnings and errors
- Closed