Hello,This is what I did - put explicit reference to Apache Commons Codec 1.14 
In POM and all workedBest regardsChavdar-----Original Message-----From: Andy 
Seaborne <[email protected]> Sent: Thursday, 25 June, 2020 09:31To: 
[email protected]: Re: Jena ARQOn 24/06/2020 22:49, Martynas 
Jusevièius wrote:> I had this problem with 3.15.0. Upgraded to 3.16.0-SNAPSHOT 
and the > problem went away.> > I think the issue is that Apache Commons Codec 
1.14 contains the> MurmurHash3 class while for example 1.11 does not. You 
probably got an > older Codec version on the classpath which then gets used by 
Jena.Commons Codec also gets pulled (1.11) from Apache HttpComponents. Due to 
the wonders of maven dependency management, it sometimes came from 
HttpComponents and sometimes via jena-arq. It seems they have the same choice 
weight and there is an element of luck as to which is picked, probably affected 
by order in the application 
POM.https://issues.apache.org/jira/browse/JENA-1898or put an explicit 
dependency into you own POM.I expect gradle would not have the problem. It 
seems to be maven's "nearest first" combined with an artifact with two versions 
being the same distance away.     Andy> > On Wed, Jun 24, 2020 at 2:37 PM Dr. 
Chavdar Ivanov <[email protected]> wrote:>>>> Hi Lorenz,>>>> Thanks for the 
reference. I see that indeed this came in 3.15 I use >> Maven and as you say it 
should be ok if the 3.15.0 is ok.>> I will check the dependencies to be sure 
all is ok there.>>>> Best regards>> Chavdar>>>> -----Original Message----->> 
From: Lorenz Buehmann <[email protected]>>> Sent: Wednesday, 
24 June, 2020 12:02>> To: [email protected]>> Subject: Re: Jena ARQ>>>> Has 
been changed with JENA-1812 [1]>>>> But I'm wondering where you get errors now? 
If you use Maven and use>> 3.15.0 as dependencies, you should not see any 
errors.>>>>>> [1]>> 
https://issues.apache.org/jira/browse/JENA-1812?jql=project%20%3D%20J>> 
ENA%20AND%20fixVersion%20%3D%20%22Jena%203.15.0%22%20ORDER%20BY%20key>> 
%20DESC%2C%20lastViewed%20DESC>>>> On 24.06.20 11:26, Dr. Chavdar Ivanov 
wrote:>>> Hi all,>>>>>> Is there some change in the packaging of commons?>>>>>> 
In the BlankNodeAllocatorHash.java the line below gives a problem if >>> 
version 3.15.0 is used and it is ok if 3.14.0 is used>>>>>> import 
org.apache.commons.codec.digest.MurmurHash3;>>>>>> It cannot recognise the 
codec>>>>>> Is it an issue with 3.15.0 or something else?>>>>>> Best regards>>> 
Chavdar>>>

Reply via email to