5、严重: Parse Error at line 6 column 52: Document root element "web-app", must mat
ch DOCTYPE root "null".
原因:Tomcat4.1.24中是Servlet2.3规范,不支持2.4规范,因此如果在项目中添加了jstl.jar或者项目的web.xml中出现2.4规范,就会报如上的错误。
Tomcat 4.xx should use the 2.3 DTD spec ,If you're using the 2.4 spec, you'll need Tomcat 5.
6、严重: Parse Error at line 6 column 52: Document is invalid: no grammar
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
原因:Tomcat4.1.24中是Servlet2.3规范,不支持2.4规范,因此如果在项目中添加了jstl.jar或者项目的web.xml中出现2.4规范,就会报如上的错误。
Tomcat 4.xx should use the 2.3 DTD spec ,If you're using the 2.4 spec, you'll need Tomcat 5.