logging library conflict (spring 5 jcl, common-logging)

1,243 views
Skip to first unread message

sangkil an

unread,
Jul 25, 2018, 6:07:48 PM7/25/18
to AdWords API and Google Ads API Forum
Hello
I'm using the google Ads API library with Spring 5 


using information (version )

def googleApiVersion = '3.15.1'

//Spring boot version
compile
'org.springframework.boot:spring-boot-starter:2.0.3.RELEASE'

 
compile
group: 'com.google.api-ads', name: 'ads-lib', version: "${googleApiVersion}"
compile
group: 'com.google.api-ads', name: 'adwords-axis', version: "${googleApiVersion}"
compile
group: 'com.google.api-ads', name: 'dfp-axis', version: "${googleApiVersion}"


error comment

java
.lang.NoSuchMethodError: org.apache.commons.logging.LogFactory.getClassLoader(Ljava/lang/Class;)Ljava/lang/ClassLoader;




When moving LogFactory, go to Spring-jcl library ...   what should I do about exclude
Thank you.

Luis Xander Talag (AdWords API Team)

unread,
Jul 26, 2018, 12:06:04 AM7/26/18
to AdWords API and Google Ads API Forum
Hi Sangkil,

Your issue seems to be related on the Java client library rather than the AdWords API. I would suggest to post your issue here as the client library owners are better equipped to assist you.

Thanks and regards,
Luis
AdWords API Team
Reply all
Reply to author
Forward
0 new messages