问题描述
我正在升级项目中的库并将 pdfbox 从 0.6.7 升级到 1.6.0 版,但找不到 LucenePDFDocument 类.Apache 页面上的文档/教程中仍然提到了该类.有什么想法吗?
I'm upgrading libraries on my project and upgraded pdfbox from 0.6.7 to version 1.6.0 and can't find LucenePDFDocument class. The class is still mentioned in the documentation/tutorials on the Apache page. Any ideas?
推荐答案
Lucene 支持已移至 PDFBox 中的单独组件(请参阅 PDFBOX-752).
The Lucene support was moved to a separate component within PDFBox (see PDFBOX-752).
您可以在 PDFBox 源代码树的 lucene
目录下或中央 Maven 存储库中的 pdfbox-lucene
工件中找到它.可以从 mvnrepository
You can find it under the lucene
directory in the PDFBox source tree or as the pdfbox-lucene
artifact on the central Maven repository. And the jars can be downloaded from sites like mvnrepository
这篇关于LucenePDFDocument 从 pdfbox 消失了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!