[
https://issues.apache.org/jira/browse/TIKA-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15038128#comment-15038128
]
Tim Allison commented on TIKA-1806:
-----------------------------------
Thank you, Nick. Odd...I wonder if our Mavens selected different parts of the
conflicting jars?
I am getting this exception with my build of trunk's Tika App on my local
Windows machine and on a Linux box...nothing else on classpath for either.
It looks like jackcess-encrypt, which according to maven central repo's public
page is relying on bcprov-jdk15on 1.52 is still actually pulling
bcprov-jdk15:1.46. Intellij shows me that the older version is a dependency of
jackcess-encrypt.
The exception goes away when I add back the exclusions that I had added based
on [this|https://sourceforge.net/p/jackcessencrypt/feature-requests/2/]
{noformat}
<dependency>
<groupId>com.healthmarketscience.jackcess</groupId>
<artifactId>jackcess-encrypt</artifactId>
<version>2.1.1</version>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15</artifactId>
</exclusion>
</exclusions>
</dependency>
{noformat}
I'll go check the actual poms in jackcess encrypt.
> Bouncy Castle conflict
> ----------------------
>
> Key: TIKA-1806
> URL: https://issues.apache.org/jira/browse/TIKA-1806
> Project: Tika
> Issue Type: Bug
> Reporter: Tim Allison
> Priority: Blocker
> Attachments: K7JQOGUCTHLSOPCSG5OCKIKM2LZKD7AH
>
>
> On a recent run with trunk against our Common Crawl corpus, I found quite a
> few of these:
> {noformat}
> java.lang.NoSuchFieldError: gostR3411_94_with_gostR3410_94
> at org.bouncycastle.operator.jcajce.OperatorHelper.<clinit>(Unknown
> Source)
> at
> org.bouncycastle.operator.jcajce.JcaDigestCalculatorProviderBuilder.<init>(Unknown
> Source)
> at org.apache.tika.parser.crypto.Pkcs7Parser.parse(Pkcs7Parser.java:63)
> at
> org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
> at
> org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
> at
> org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)