Я получаю это исключение после того, как я удалил из своего проекта фляги (pdfbox, bouncycastle и т. Д.) И переместил их в другую папку, но я включил их в путь сборки ...
в первой строке eclipse показывает эту ошибку ( конструктор PDFParser (InputStream) ссылается на отсутствующий тип InputStream ) -altought FileInputStream расширен от InputStream- и я не знаю Зачем?
FileInputStream in = new FileInputStream(path);
PDFParser parser = new PDFParser(in);
PDFTextStripper textStripper = new PDFTextStripper();
parser.parse();
String text = textStripper.getText(new PDDocument(parser.getDocument()));
есть идеи?
**
Exception in thread "AWT-EventQueue-0" java.lang.Error: Unresolved compilation problems:
The constructor PDFParser(InputStream) refers to the missing type InputStream
The constructor PDFTextStripper() refers to the missing type IOException
The method parse() from the type PDFParser refers to the missing type IOException
The method getText(PDDocument) from the type PDFTextStripper refers to the missing type IOException
The method getDocument() from the type PDFParser refers to the missing type IOException
The method getDocument() from the type PDFParser refers to the missing type IOException
The method close() from the type COSDocument refers to the missing type IOException
**