读取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.
解决思路:xml文件格式有问题——发现一个是文件格式不正确,把文件转存为UTF-8 no BOM 格式; 当查看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.
解决思路:xml文件格式有问题——发现一个是文件格式不正确,把文件转存为UTF-8 no BOM 格式; 当查看xml文件才发现时编辑脚本问题,多个"/" 。