org.xml.sax.SAXParseException: 组件类型web-app 未被声明”的问题
2008-09-01 13:55
429 查看
web.xm须改为:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
相关文章推荐
- Cause: org.xml.sax.SAXParseException;columnNumber: 101; 必须为元素类型 "insert" 声明属性 "resultType
- mybatis启动不了,nested exception is org.xml.sax.SAXParseExceptionpublicId,文档类型声明包含或指向的标记声明必须格式正确。
- Caused by: org.xml.sax.SAXParseException; lineNumber: 7; columnNumber: 72; 必须为元素类型 "beans" 声明属性 "xml
- Caused by: org.xml.sax.SAXParseException; 通配符的匹配很全面, 但无法找到元素 'context:property-placeholder' 的声明。
- spring配置问题:org.xml.sax.SAXParseException: Open quote is expected for attribute "{1}" associated with
- org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 105; cvc-elt.1: 找不到元素 'beans' 的声明。
- org.xml.sax.SAXParseException: 缺少文件根组件。
- 问题:org.xml.sax.SAXParseException: prolog 中不允许有内容
- Mybatis出现Cause: org.xml.sax.SAXParseException; lineNumber: 62; columnNumber: 18; 元素类型为 "constructor"
- Caused by: org.xml.sax.SAXParseException; lineNumber: 70; columnNumber: 10; 元素类型为 "mapper" 的内容必须匹配 "
- org.xml.sax.SAXParseException: 元素类型 "meta" 必须由匹配的结束标记 "</meta>" 终止。
- 严重: Parse Fatal Error at line 2 column 243: 已经为元素 "web-app" 指定属性 "xmlns"。 org.xml.sax.SAXParseExcept
- is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c:严格输入了匹配通配符,但还是找不到元素“jee:jndi-lookup”的声明。
- WebService org.xml.sax.SAXParseException: Document root element "beans",must match DOCTYPE root "nul
- nested exception is org.xml.sax.SAXParseException; lineNumber: 8; columnNumber: 56; cvc-complex-type.2.4.c通配符的匹配很全面, 但无法找到元素 'dubbo:application' 的声明
- 解决webservice结合spring出现的问题!org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema
- org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 63; cvc-elt.1: 找不到元素 'beans' 的声明。
- cxf整合spring 命名空间问题 (nested exception is org.xml.sax.SAXParseException)
- org.xml.sax.SAXParseException: cvc-elt.1:找不到元素“***”的声明。解决方法之一
- org.xml.sax.SAXParseException; 引用了实体 "nbsp", 但未声明它。