是的,你没有在classpath中引入 java.ms.** 的这个类包。还有,解析xml推荐使用jaxp

解决方案 »

  1.   

    就是不要用M$的破东西,用通用的XML解析器
      

  2.   

    使用JDOM挺好的,好像是最简单的了吧具体网址:www.jdom.org
      

  3.   

    用xalan和xerces
    转载:
    Xalan (named after a rare musical instrument) provides high-performance XSLT stylesheet processing. 
    Xerces (named after the Xerces Blue butterfly) provides world-class XML parsing and generation.
    我们现在的产品采用基于xalan和xerces基础之上的cocoon框架来开发数据解析部分。老杨。
      

  4.   

    很明显是你的xml文档中有非法的标记,导致解析时出错!
      

  5.   

    以前我做的一个程序有过类似的问题,后来发现是xml文件里有些值里带有“<”或“>”,而jb5自带的包(xalan和xerces)是01年秋季版的,后来从sun网站上下载了02年春季版覆盖以后就解决了。
    你可以试试去下载一个最新版的。