reason: the hivemodule.xml module id is existing change another one
org.apache.tapestry.util.xml.DocumentParseException: Unable to read context:/WEB-INF/Tapestry4.application: Document root element "application", must match DOCTYPE root "page-specification". [context:/WEB-INF/Tapestry4.application, line 7, column 85]
reason: use wrong DOCTYPE
http://mail-archives.apache.org/mod_mbox/jakarta-tapestry-user/200504.mbox/%3C4252AF36.2070800@kligerweiss.com%3E
it tapestry4.application should be
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE
application PUBLIC
"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
"http://tapestry.apache.org/dtd/Tapestry_4_0.dtd">
<application name="Tapestry4" engine-class="org.apache.tapestry.engine.BaseEngine" >
<meta key="org.apache.tapestry.page-class-packages" value="control" />
<library id="contrib" specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
</application>
not be
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE
page-specification PUBLIC
"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
"http://tapestry.apache.org/dtd/Tapestry_4_0.dtd">
<application name="Tapestry4" engine-class="org.apache.tapestry.engine.BaseEngine" >
<meta key="org.apache.tapestry.page-class-packages" value="control" />
<library id="contrib" specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
</application>
For application specifications, the root element is application.
For component specifications, the root element is component-specification.
For page specifications, the root element is page-specification.
For library specifiations, the root element is library-specification.
This DTD represents a significant change from (and simplification of) the 3.0 DTD.
Tapestry 4.0 will continue to parse specifications that use the 3.0 DTD for the
forseable future.
分享到:
相关推荐
本地引用示例: <!DOCTYPE html> ... <link rel="stylesheet" href="/my/html/element-ui/lib/theme-chalk/index.css"> <el-row> <el-col :span="24"><div class="myclass"></div></el-col> </el-row>
博客文章: 关于HTML中的 <!DOCTYPE> 声明 文章配套示例HTML源代码 内容说明:DOCTYPE是Document Type(文档类型)的简写,要想制作符合标准的HTML页面,一个必不可少的关键组成部分就是DOCTYPE声明。
DOCTYPE html> <html lang=en> <head> <meta charset=UTF-8> <title>Title</title> <link rel=stylesheet href=...
本文实例为大家分享了vue+element-ui+axios实现图片上传的具体代码,供大家参考,具体内容如下 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta ...
( HTML5 没有严格和混杂之分)区分DTD: Document Type Definition文档包含严格的 DOCTYPE:一般以严格模式呈现包含过渡 D
导入dwr.jar包到lib下,在webroot/WEB-INF下创建dwr.xml文件以及导入dwr20.dtd文件, ------------1)DWR.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct ...
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>...
DOCTYPE>标签的定义和用法。 准确的说,<!DOCTYPE>并不是HTML标签,它声明web浏览器关于页面使用哪个 HTML 版本进行编写的指令。 在 HTML 4.01 中,<!DOCTYPE> 声明引用 DTD,因为 HTML 4.01 基于 SGML。DTD 规定了...
doctype就是其中一个: <!DOCTYPE ...DOCTYPE RootElement Availability "URI" [declarations]> 如几种常见的doctype: HTML 4.01: Strict<!DOCTYP
DOCTYPE> 文档类型 文档 文档主体 <h1> to <h6> HTML 标题 段落 换行 水平线 <!--...-->注释 --文本 粗体文本 不赞成用。文本字体、尺寸和颜色 斜体文本 强调文本 大文本 强烈强调文本 小文本 上标文本 下标文本...
HTML !DOCTYPE 标签.docx
DOM添加元素,使用节点属性 DOM添加元素,使用节点属性 ...Element--表示起始标签和结束标签之间的内容,例如<tag></tab>或者。这是唯一可以同时包含特性和子节点的节点类型。Attr--代表一对特性
html标题_DOCTYPE的含义 有关DOCTYPE标签的各种用法
DOCTYPE>语法)的对象表现形式,它不能包含子节点。DocumentFragment--可以像Document一样来保存其他节点。Element--表示起始标签和结束标签之间的内容,例如<tag></tab>或者。这是唯一可以同时包含特性和子节点...
DOCTYPE文档类型声明..........
最近了解到Vue.js挺火的,有同学已经学习了,那我心里痒痒的也学习了一点,然后也学了一点Element组件,就做了简单的登录页面。 效果很简单: 代码如下: 前端页面 <!DOCTYPE html> <html> <head> ...
DOCTYPE html PUBLIC.doc
DOCTYPE html> <!-- 双标签:有头有尾,并且尾巴内会有一个关闭符:/ --> <!-- 该文档的根元素(根节点) --> <!-- 头部标签 --> <!-- 单标签(也称空标签):有头没有尾,结尾会有一个关闭符,可写可不写 --> ...
在本课程中,我们将回顾我们对格式良好HTML文档的了解,并在doctype , html和head标签上进行一些扩展,并介绍如何在HTML代码中添加注释。目标加强我们对基本HTML文档结构的理解介绍HTML注释扩展我们对head及其内容...
HTML 元素与合法的 Doctype.docx