一点都不奇怪,你说的MAPXTREME4.7我没用过,不过通过exception的信息就能知道是怎么回事。 java.lang.RuntimeException: Unable to get server encoding. org.xml.sax.SAXParseException: Attribute name "noshade" associated with an element type "HR" must be followed by the ' = ' character. 应该是在解析xml格式的文件, 错误一:没有指定encoding或者指定错误。 错误二:HR标签的noshade属性定义有语法错误,应该是<HR ... noshade="noshade" />而不是<HR ... noshade />btw,出了问题应该仔细分析错误信息,而不是简单的认为奇怪!
java.lang.RuntimeException: Unable to get server encoding.
org.xml.sax.SAXParseException: Attribute name "noshade" associated with an element type "HR" must be followed by the ' = ' character.
应该是在解析xml格式的文件,
错误一:没有指定encoding或者指定错误。
错误二:HR标签的noshade属性定义有语法错误,应该是<HR ... noshade="noshade" />而不是<HR ... noshade />btw,出了问题应该仔细分析错误信息,而不是简单的认为奇怪!