Content is not allowed in prolog.

读取XML时出现错误:

2010-08-03 10:52:27 ERROR com.ving.admin.action.GetMenuAction  - Error on line 1 of document file:/E:/wujc/vingsoft/xmzw/apache-tomcat-6.0.16/webapps/xmea/commons/menu/xml/menu.xml: Content is not allowed in prolog.


一个是文件格式不正确,把文件转存为UTF-8 no BOM 格式;
当查看xml文件才发现时编辑脚本问题,多个"/"
呵呵,细心

你可能感兴趣的:(apache,tomcat,xml,脚本)