使用tika服务器的FileNotFoundException

时间:2018-06-11 17:12:08

标签: python apache-tika tika-server

我使用tika服务器将doc,docx和pdf转换为文本。但它引发了这个错误:

java.io.FileNotFoundException: https:/filters-api.s3.amazonaws.com/media/resumes/df859b34-a0a0-4c21-a49e-7d4e761730b6.pdf (No such file or d
irectory)                                                                                                                                   
        at java.io.FileInputStream.open0(Native Method)                                                                                     
        at java.io.FileInputStream.open(FileInputStream.java:195)                                                                           
        at java.io.FileInputStream.<init>(FileInputStream.java:138)                                                                         
        at java.io.FileInputStream.<init>(FileInputStream.java:93)                                                                          
        at code4goal.antony.resumeparser.ResumeParserProgram.parseToHTMLUsingApacheTikka(ResumeParserProgram.java:72)                       
        at code4goal.antony.resumeparser.ResumeParserProgram.main(ResumeParserProgram.java:272)

我尝试重新启动服务器更改端口从9998到9997,但没有任何效果。

0 个答案:

没有答案