Tika Library on Pega 8.5.3
HI,
i've just upgrade Pega platform from 7.1.9 to 8.5.3, but one function in a custom library doesn't compile anymore.
the function was based on Tika library. the error is: Error(s) detected while generating java. Compiler reported: ---------- 1. ERROR in /com/pegarules/generated/GuessMIMEType_011621__6943133032635906098.java (at line 105) com.pega.apache.tika.Tika tika = new com.pega.apache.tika.Tika(); ^^^^^^^^^^^^^^^^^^^^ com.pega.apache.tika cannot be resolved to a type ---------- 2. ERROR in /com/pegarules/generated/GuessMIMEType_011621__6943133032635906098.java (at line 105) com.pega.apache.tika.Tika tika = new com.pega.apache.tika.Tika(); ^^^^^^^^^^^^^^^^^^^^ com.pega.apache.tika cannot be resolved to a type ---------- 2 problems (2 errors) Compile failed.
and the init string is: com.pega.apache.tika.Tika tika = new com.pega.apache.tika.Tika();
can you tell me the correct type to call?
also can you tell me which version of tika is used in Pega 8.5.3?
Thank you,
Andrea