Hi Marcel,
yes, I am using Gradle 4.10. But I am starting to think that's the problem.
I just created the same project in maven 3.3, included the Tika dependency
and the exception was gone.

BTW; why do you have a dependency on jackrabbit-core????
>
I just copied dependencies from another project I had. I can't remember why
I included jackrabbit core there :(

Thanks.



El mar., 21 ene. 2020 a las 1:10, Julian Reschke (<[email protected]>)
escribió:

> On 21.01.2020 02:15, jorgeeflorez . wrote:
> > Hi Marcel,
> > thank you for your reply. These are the dependencies I declared in my
> > project:
> >      implementation group: 'org.apache.jackrabbit', name:
> 'jackrabbit-core',
> > version: '2.20.0'
> >      implementation group: 'org.apache.jackrabbit', name: 'oak-core',
> > version: '1.22.0'
> >      implementation group: 'org.apache.jackrabbit', name: 'oak-jcr',
> > version: '1.22.0'
> >      implementation group: 'org.apache.jackrabbit', name: 'oak-lucene',
> > version: '1.22.0'
> >      implementation group: 'org.apache.jackrabbit', name:
> 'oak-auth-ldap',
> > version: '1.22.0'
> >      implementation group: 'org.mongodb', name: 'mongo-java-driver',
> > version: '3.8.2'
> >      implementation group: 'org.apache.tika', name: 'tika-parsers',
> version:
> > '1.23'
> >
> >      implementation group: 'org.slf4j', name: 'slf4j-api', version:
> '1.7.30'
> >      implementation group: 'org.slf4j', name: 'slf4j-log4j12', version:
> > '1.7.30'
> >      implementation group: 'org.slf4j', name: 'slf4j-log4j12', version:
> > '1.7.30'
> >      implementation group: 'log4j', name: 'log4j', version: '1.2.16'
> >
> > If I remove the tika dependency my Main class runs without problem. I
> > looked at the parent pom
> > <
> https://repo1.maven.org/maven2/org/apache/jackrabbit/oak-parent/1.22.0/oak-parent-1.22.0.pom
> >and
> > added the dependency (I know Tika is used in text extraction and index
> > related stuff).
> > Will everything work if I remove it?
> >
> > Regards.
> > Jorge
>
> With Maven, you could do "mvn dependency:tree" to see who's referencing
> what. But you use a different tool, right?
>
> BTW; why do you have a dependency on jackrabbit-core????
>
> Best regards, Julian
>

Reply via email to