小弟在用HWPFDocument时报异常:Exception in thread "main" java.lang.NoSuchMethodError: org.apache.poi.hwpf.model.TextPiece.getCP()I。
代码为:HWPFDocument doc = new HWPFDocument(new FileInputStream(fileName));用的是POI3.0.1、jdk1.5、word2003.请各位教教小弟。先谢谢了。
代码为:HWPFDocument doc = new HWPFDocument(new FileInputStream(fileName));用的是POI3.0.1、jdk1.5、word2003.请各位教教小弟。先谢谢了。
支持楼上,或者你的main函数本身签名什么的就有问题.