RE: NoClassDefFoundError

2022-01-04 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Bipul, Thanks for reaching out to us. Could you please elaborate on the issue, and provide us with the complete request and response logs with the request-id, so our team can better check? For the Java client library, logging can be enabled by the guide provided in this link. You may then s

NoClassDefFoundError

2022-01-04 Thread 'Bipul Kumar' via AdWords API and Google Ads API Forum
Hi I am getting this error, can someone help me with this? java.lang.NoClassDefFoundError: com/google/common/base/MoreObjects at com.google.auth.oauth2.ServiceAccountCredentials.(ServiceAccountCredentials.java:151) ~[google-auth-library-oauth2-http-0.24.0.jar:na] at com.google

Re: NoClassDefFoundError & OfflineCredentials.Api.ADWORDS null

2018-05-15 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Minh, If the issue was due to incomplete OAuth credentials, you should ideally be getting an OAuth error. This seems like an environment issue. You might want to verify if there are any version mismatch for the dependencies. If you are not able to resolve the issue, could you please open

NoClassDefFoundError & OfflineCredentials.Api.ADWORDS null

2018-05-15 Thread minh quan le
at com.knorex.web.web.rest.CampaignInfoResource.getAllOfCampaign(CampaignInfoResource.java:17) at com.knorex.web.web.rest.CampaignInfoResource$$FastClassBySpringCGLIB$$9e90adaa.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop

Re: NoClassDefFoundError

2016-06-29 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Bert, A sample SOAP request for an API call to add a Budget is provided here . I think you are missing the UserAgent field

Re: NoClassDefFoundError

2016-06-29 Thread 'Bert Brecht' via AdWords API Forum
Thanks a lot for your reply! Unfortunately, it does not help us, as for example servlet 2.5 is dependency of it. We managed already to import the WSDLs and we try to figure out now, how we have to build our requests. We can set the soapHeader but something seems to be still missing:

Re: NoClassDefFoundError

2016-06-28 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Bert, The adwords-appengine Maven module uses JAX-WS instead of axis. I would recommend that you use this instead of adwords-axis. Regards, Shwetha, AdWords API Team. -- -- =~=~=~=~=~=~=~=~=

Re: NoClassDefFoundError

2016-06-27 Thread 'Bert Brecht' via AdWords API Forum
Thanks a lot for your reply. The classpath is fine. I found out, the java API does not work in a JavaEE environment. It seems to clash with the existing dependency injection in Glassfish 4.1.1. Is it possible to get an API based on JAX-WS only? brgds, Bert You'll find the stacktrace below: ja

Re: NoClassDefFoundError

2016-06-24 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Bert, Could you check if you have provided all the essential dependencies in the (runtime) classpath? Could you also provide the complete stack trace so I can further investigate? Instructions for setting up the AdWords API Java Client library are available here

NoClassDefFoundError

2016-06-24 Thread 'Bert Brecht' via AdWords API Forum
Hi, I started to develop an application using the adwords api. I managed everything so far (test accounts, oauth2 ...) and have my auth and refresh token. Now I'm trying to get the customer id (to see, whether the service works or not): private static AdWordsSession createAdWordsSession(St