Obtengo esta excepción después de eliminar de mi proyecto los archivos jar (pdfbox, bouncycastle etc.) y los moví a otra carpeta pero los incluí en la ruta de compilación ...Obtengo esta excepción: problemas de compilación no resueltos
en el primer eclipse línea muestra este error (la PDFParser constructor (InputStream) se refiere al tipo de falta InputStream) -altought FileInputStream se extiende desde InputStream- y yo no sé por qué?
FileInputStream in = new FileInputStream(path);
PDFParser parser = new PDFParser(in);
PDFTextStripper textStripper = new PDFTextStripper();
parser.parse();
String text = textStripper.getText(new PDDocument(parser.getDocument()));
¿Alguna idea? **
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
**
Tenga en cuenta que Eclipse tiene un "compilador incremental", por lo que es posible que algunos (la mayoría) de sus códigos ya estén compilados, mientras que otros no. –
es una muy buena idea tratar de cumplir el proyecto del agujero desde cero. Gracias – Stephan