做个美梦的博客用 poi读取word文件 。老是报错org.apache.poi.poifs.filesystem.NotOLE2FileException: Invalid header signature; read 0xC9D33C3A6D6F7246, expected 0xE11AB1A1E011CFD0 - Your file appears not to be a valid...
潘铭允Jasmine的博客常规思路(利用poi对word进行解析)////word 2003: 图片不会被读取InputStream is = new FileInputStream(new File("D:\\word\\中文简历_20160622.doc"));WordExtractor ex = new WordExtractor(is);//is是WORD文件的...
良田半亩的博客2、如果出现报错java.lang.StringIndexOutOfBoundsException: String index out of range: -15,需要打断点跟一下,PoiPublicUtil类的getRealValue方法,有可能是读取模板的时候把参数{{data}}正好分割为{{和data}}...