[ 
https://issues.apache.org/jira/browse/TIKA-3667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485433#comment-17485433
 ] 

Tim Allison edited comment on TIKA-3667 at 2/1/22, 7:49 PM:
------------------------------------------------------------

Look for an old version of commons-io on your classpath...or is this in OSGi?

Wrap() came into commons-io at 2.9 (if the documentation is accurate): 
https://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/input/CloseShieldInputStream.html#wrap-java.io.InputStream-

tika-app includes with commons-io 2.11.


was (Author: [email protected]):
Look for an old version of commons-io on your classpath...or is this in OSGi?

> The TIKA 2.2.1 Does not support file types that previous versions support
> -------------------------------------------------------------------------
>
>                 Key: TIKA-3667
>                 URL: https://issues.apache.org/jira/browse/TIKA-3667
>             Project: Tika
>          Issue Type: Bug
>          Components: core, parser
>    Affects Versions: 2.2.1
>         Environment: Linux, windows, use TIKA APIs in JAVA.
>            Reporter: Jing Yang
>            Priority: Major
>              Labels: OOXML
>             Fix For: 2.2.2
>
>
> We have just switched to TIKA 2.2.1 from 1.24.1. because of the Log4Jshell 
> CVE. For certain mime types, specifically for the 
> application/vnd.openxmlformats-officedocument.wordprocessingml.document  type 
> and other application/vnd.openxmlformats-officedocument ...types, with OOXML 
> parser, the parser  to extract the file contents does not work anymore with 
> the error: java.lag.NoSuchMethodError. This function is very important to our 
> work, it works fine in version 1.24.1. For obvious reasons, we can't switch 
> back to the previous versions. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to