【问题标题】:Eclipse - Error: <wicket:panel> is not recognizedEclipse - 错误:<wicket:panel> 无法识别
【发布时间】:2013-04-12 07:59:31
【问题描述】:

在我的 Eclipse html 编辑器中,我看到了这些错误 - Error: &lt;wicket:panel&gt; is not recognized! 我已在 html 标记中包含以下内容,但它仍然没有帮助

    <html xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd">

谁能提出解决方案? 谢谢

【问题讨论】:

    标签: java html eclipse wicket


    【解决方案1】:

    要使用最新的 xsd,请尝试以下 sn -p

    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:wicket="https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=blob_plain;f=wicket-core/src/main/resources/META-INF/wicket-1.5.xsd;hb=master">
    

    【讨论】:

      【解决方案2】:

      我总是使用几乎相同的标签,但添加了 xmlns。

      <html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd">
      

      希望对你有帮助。

      【讨论】:

      • 我发现是 Amateras HTML 编辑器 的崩溃安装导致了问题。按照amateras.sourceforge.jp/docs/FacesIDE/… 的指南,我将其移除并重新安装。现在一切都好。 xmln 属性也很重要,如果文件是用 Amateras 打开的,因此接受 drobson 的回答
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-09-23
      • 1970-01-01
      • 2013-11-18
      • 2012-04-19
      • 2015-12-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多