[
https://issues.apache.org/jira/browse/TIKA-3667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485432#comment-17485432
]
Jing Yang commented on TIKA-3667:
---------------------------------
yes, thanks Tim! I added server-standard package in maven, same error as the
following:
[2022-Feb-01 14:30:39:313] [DEBUG] [DbDocument:247] - mime type:
application/vnd.openxmlformats-officedocument.wordprocessingml.document
java.lang.NoSuchMethodError:
org.apache.commons.io.input.CloseShieldInputStream.wrap(Ljava/io/InputStream;)Lorg/apache/commons/io/input/CloseShieldInputStream;
at
org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:120)
at
org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse(OOXMLParser.java:115)
....
> 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)