[错误描述]:
jboss启动报错如下错误
org.xml.sax.SAXException: Stopping after fatal error: The string “–” is not permitted within comments.
[分析原因]:
原因是xml文件中的注释:<!-- XXX -->不能有空注释如:<!-- -->;也不能有<!-- XX --- XX -->的注释。
[解决方法]:
应去掉除“<!-- -->”的所有“---”
jboss启动报错如下错误
org.xml.sax.SAXException: Stopping after fatal error: The string “–” is not permitted within comments.
原因是xml文件中的注释:<!-- XXX -->不能有空注释如:<!-- -->;也不能有<!-- XX --- XX -->的注释。
应去掉除“<!-- -->”的所有“---”