public static void main(String[] args) {
  testReadTable testReadTable1 = new testReadTable();
  testReadTable1.testTable();
  }
   
  public void testTable() {
  Document doc = null;
  try {
  doc = new Document();
  doc.open("e:/test4.doc");
  //读取第一张表,从首行(表头)开始读取
  List tableData = doc.readTable(1, 1);
  for (int i = 0; i < tableData.size(); i++) {
  List rowData = (List) tableData.get(i);
  for (int j = 0; j < rowData.size(); j++) {
  System.out.print("|" + rowData.get(j));
  }
  System.out.println("|");
  }
  }
  catch (Exception e) {
  e.printStackTrace();
  }
  finally {
  try {
  if(doc!=null) doc.close(false);
  }
  catch (Exception e) {
  e.printStackTrace();
  }
  }
  }
}跑到doc.open("e:/test.doc")这步就报错了,为什么,我把路径改为doc.open("e:\\test.doc")也同样报错。。