【发布时间】:2014-05-07 15:30:00
【问题描述】:
我正在尝试读取一个 word 文件,然后将其存储在我的数据库中。 为此,我正在使用 APACHI POI
http://sanjaal.com/java/tag/java-and-docx-format/
我已经在构建路径中添加了所需的 jar,没有导入错误
但是当我运行/编译我的应用程序时,它会说:
[ERROR] Line 22: No source code is available for type org.apache.poi.poifs.filesystem.POIFSFileSystem; did you forget to inherit a required module?
[ERROR] Line 24: No source code is available for type java.io.FileInputStream; did you forget to inherit a required module?
[ERROR] Line 25: No source code is available for type org.apache.poi.hwpf.HWPFDocument; did you forget to inherit a required module?
[ERROR] Line 47: No source code is available for type org.apache.poi.hwpf.extractor.WordExtractor; did you forget to inherit a required module?
[ERROR] Line 63: No source code is available for type org.apache.poi.hwpf.usermodel.HeaderStories; did you forget to inherit a required module?
[ERROR] Line 77: No source code is available for type org.apache.poi.hpsf.DocumentSummaryInformation; did you forget to inherit a required module?
知道我错过了什么
谢谢
【问题讨论】:
标签: java gwt apache-poi