`

The content of element type "field" is incomplete

XML 
阅读更多

修改了search功能的filed后,重新启动opencms,在opencms的logs里面发现:

 

Caused by: org.xml.sax.SAXParseException: The content of element type "field" is incomplete, it must match "(mapping)+".

 

这个错误。

 

在opencms-search.xml里面找找看有没有类似这样的代码:

<field name="myproperty" display="myproperty" store="true" index="true"/>

 

这是opencms的一个bug,有时候设置search field,opencms会改坏opencms-search.xml,不知道新版有没有这样的问题。

分享到:
评论

相关推荐

    BootStrap3使用错误记录及解决办法

    The content of element type “font-face” is incomplete, it must match “((font-face-src,(desc|title|metadata)*)|((desc|title|metadata) +,font-face-src,((desc|title|metadata))*?))”. 解决办法: 源代码...

    解决docker返回WSL 2 installation is incomplete.

    标题 "解决docker返回WSL 2 installation is incomplete." 指出的问题是在尝试使用Docker时遇到了关于WSL 2(Windows Subsystem for Linux 2)安装不完整的情况。这通常意味着Docker需要一个完整的WSL 2环境才能正常...

    Maximum Likelihood from Incomplete Data via the EM Algorithm.pdf

    《Maximum Likelihood from Incomplete Data via the EM Algorithm》是一篇由A.P. Dempster、N.M. Laird和D.B. Rubin发表于1977年的经典论文,该论文首次系统地介绍了EM算法,并详细探讨了其在处理不完整数据时的...

    invalid use of incomplete type(解决方案).md

    invalid use of incomplete type(解决方案).md

    Maximum Likelihood from Incomplete Data via the EM Algorithm

    《Maximum Likelihood from Incomplete Data via the EM Algorithm》是一篇由A. P. Dempster、N. M. Laird和D. B. Rubin在1977年发表的重要论文,该论文首次系统地介绍了EM算法(Expectation-Maximization algorithm...

    acpi控制笔记本风扇转速

    restricted to regions of type SystemMemory, as per the ACPI specification. BZ 481 Additional cleanup and optimizations for the new Table Manager code. AcpiEnable will now fail if all of the required...

    《算法导论》(Introduction to Algorithms) 英文 文字版

    "Introduction to Algorithms, the 'bible' of the field, is a comprehensive textbook covering the full spectrum of modern algorithms: from the fastest algorithms and data structures to polynomial-time ...

    Design and Implementation of Real-Time Multi-Sensor Vision Systems 2017

    darken when exposed to light, but the process is too slow and incomplete to be of any practical use. A principle of camera obscura is used to resolve this problem. The camera obscura (“dark room”—...

    Senfore_DragDrop_v4.1

    It is recommended that you start by running each of the demo applications and then look through the demo source. Each demo application is supplied with a readme.txt file which briefly describes what ...

    html2canvas

    It doesn't magically circumvent any browser content policy restrictions either, so rendering cross-origin content will require a proxy to get the content to the same origin. The script is still in a...

    Practical+Python+AI+Projects-Apress(2018).pdf

    Artificial intelligence is a wide field covering diverse techniques, objectives, and measures of success. One branch is concerned with finding provably optimal solutions to some well-defined ...

    微软内部资料-SQL性能优化3

    Another type of table lock is a schema stability lock (Sch-S) and is compatible with all table locks except the schema modification lock (Sch-M). The schema modification lock (Sch-M) is incompatible ...

    Delphi7.1 Update

    * When using RefreshRecord on a Memo or Blobfield and the field has been modified by another user, the blobsize of that field does not change if it is less than before (Quality Central 4676).* ...

    C#上位机S7.Net与PLC通信

    在IT行业中,上位机与下位机的通信是自动化控制领域的重要环节,尤其是在工业生产自动化系统中。本文将深入探讨“C#上位机S7.Net与PLC通信”这一主题,帮助开发者理解如何利用C#编程语言,结合西门子的S7.NET库,...

    Multiple Attribute Decision Making with Incomplete Weight Information in Linguistic Setting

    Multiple Attribute Decision Making with Incomplete Weight Information in Linguistic Setting,卫贵武,,The aim of this paper is to investigate the multiple attribute decision making problems with ...

    Visual Knowledge Discovery and Machine Learning-Springer(2018).pdf

    The topic of this book is related to the prospects of both the super-intelligent machines and the super-intelligent humans, which can far surpass the current human intelligence, significantly lifting ...

    09 赵文竹 b题_TheQuestion_数学建模论文_

    This is a paper on question b of the 2018 National Mathematical Modeling Competition on the design of the issue of customer credit evaluation under incomplete symmetry information

    算法导论--Introduction.to.Algorithms

    "Introduction to Algorithms, the 'bible' of the field, is a comprehensive textbook covering the full spectrum of modern algorithms: from the fastest algorithms and data structures to polynomial-time ...

Global site tag (gtag.js) - Google Analytics