Question

1
Replies
19
Views
Andrea Loris Gialain (AndreaG86)
Accenture SPA

Accenture SPA
IT
AndreaG86 Member since 2018 11 posts
Accenture SPA
Posted: June 23, 2021
Last activity: June 24, 2021
Posted: 23 Jun 2021 12:42 EDT
Last activity: 24 Jun 2021 11:13 EDT
Solved

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

 

Pega Platform 8.5.3 System Administration Upgrades Communications and Media Senior System Architect Upgrade