简体   繁体   中英

Tika in Python Azure Function

I'm trying to create a function on Azure Function Apps that is given back a PDF and uses the python tika library to parse it. This setup works fine locally, and I have the python function set up in Azure as well, however I cannot figure out how to include Java in the environment?

At the moment, when I try to run the code on the server I get the error message

Unable to run java; is it installed? Failed to receive startup confirmation from startServer.

So this isnt possible at this time. To solve it, I abstracted out the tika code into a Java Function app and used that instead.

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