简体   繁体   中英

package org.apache.pdfbox does not exist

I have a problem with my java project, when extracting the pdf (package org.apache.pdfbox does not exist)

import org.apache.pdfbox.PDFReader
import org.apache.pdfbox.*;
import org.apache.pdfbox.cos.COSDocument;
import org.apache.pdfbox.pdmodel.PDDocument

在此处输入图像描述

I've replaced add fontbox and pdfbox 2.0.26.. but there are still some errors, and extracting the pdf can't work

enter image description here

enter image description here

problem solved,, I use java language,, I added pdfbox.app 2.0.26.jar and removed pdfbox and fontpdf 2.0.26.jar

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM