apache poi jar 缺少 class 个文件
apache poi jar missing class files
我刚开始使用 Apache POI 库来处理 .xls 和 .xlsx 文件。我从他们的 maven repository and tried the example found here. When implemented in Eclipse, the import for the Row class was not resolved. I have checked the .jar file of the library and indeed under apache.poi.ss.usermodel.
there is only one class WorkbookFactory.class
. I have tried also previous versions of that POI library but I have stopped at 3.8 seeing that there is nothing in that package. The build path of the project in Eclipse is fine, everything is checked. I tried also with the poi-bin-3.11-20141221.zip
library referenced, no success. Even in their library documentation found here 那里得到了 poi-ooxml-3.11.jar
文件,class 应该在那里。有任何想法吗?我必须自己获取资源并创建一个 jar 吗?任何建议都是appreciated.Thank你。
Apache POI 分布在各种模块中,主要的模块是 poi。
大多数其他模块,包括 poi-ooxml 都依赖于这个主要工件。 poi-ooxml POM
中明确说明了依赖关系
最好的办法是让 Maven 处理它,如果您在 POM 中添加 poi-ooxml,它会自动提取所需的依赖项。
如果这不可能,那么您将不得不通过检查您需要的库的 POM 来复制依赖关系树。
我刚开始使用 Apache POI 库来处理 .xls 和 .xlsx 文件。我从他们的 maven repository and tried the example found here. When implemented in Eclipse, the import for the Row class was not resolved. I have checked the .jar file of the library and indeed under apache.poi.ss.usermodel.
there is only one class WorkbookFactory.class
. I have tried also previous versions of that POI library but I have stopped at 3.8 seeing that there is nothing in that package. The build path of the project in Eclipse is fine, everything is checked. I tried also with the poi-bin-3.11-20141221.zip
library referenced, no success. Even in their library documentation found here 那里得到了 poi-ooxml-3.11.jar
文件,class 应该在那里。有任何想法吗?我必须自己获取资源并创建一个 jar 吗?任何建议都是appreciated.Thank你。
Apache POI 分布在各种模块中,主要的模块是 poi。 大多数其他模块,包括 poi-ooxml 都依赖于这个主要工件。 poi-ooxml POM
中明确说明了依赖关系最好的办法是让 Maven 处理它,如果您在 POM 中添加 poi-ooxml,它会自动提取所需的依赖项。
如果这不可能,那么您将不得不通过检查您需要的库的 POM 来复制依赖关系树。