【发布时间】:2018-09-12 10:15:58
【问题描述】:
今天早上,我正在处理的系统的几个分支都开始出现以下错误消息: (昨晚一切都很好)
[37m2018-09-12 11:55:34.733[0;39m [1;31mERROR[0;39m [37m--- [ main]
[0;39m [ ] 36mcom.opensymphony.xwork2.util.DomHelper
[0;39m : The markup declarations contained or pointed to by the document type declaration must be well-formed. at (-//Apache Software Foundation//DTD Struts Configuration 2.5//EN:1:3)
org.xml.sax.SAXParseException: The markup declarations contained or pointed to by the document type declaration must be well-formed.
引用位于 struts.xml 中,如下所示:
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts
Configuration 2.5//EN"
"http://struts.apache.org/dtds/struts-2.5.dtd">
转到上面的网址我收到这条消息:
This page contains the following errors:
error on line 35 at column 2: StartTag: invalid
element name
Below is a rendering of the page up to the first
error.
由于这只是在几个分支中开始发生,其中一些分支的 struts.xml 文件没有任何更改,我猜这是一个 apache 问题。还有人看到这个吗?
【问题讨论】:
-
在 apache struts 网站上发帖:issues.apache.org/jira/browse/WW-4959?filter=-6