Hi, Wierd... It worked fine with the adwords-axis-example.1-17.0.tar.gz<https://code.google.com/p/google-api-ads-java/downloads/detail?name=adwords-axis-examples-1.17.0.tar.gz&can=2&q=> and the pom.xml as is. Can you please attach your pom.xml in that thread? https://groups.google.com/forum/embed/?place=forum/adwords-api&showsearch=true&showpopout=true&parenturl=https%3A%2F%2Fdevelopers.google.com%2Fadwords%2Fapi%2Fcommunity%2F#!topic/adwords-api/Q62Hdmgtk08
Best, - Takeshi, On Wednesday, July 3, 2013 4:44:10 AM UTC+9, Danilo wrote: > > Hi, > > Take a look at this post: > > > https://groups.google.com/forum/embed/?place=forum/adwords-api&showsearch=true&showpopout=true&parenturl=https%3A%2F%2Fdevelopers.google.com%2Fadwords%2Fapi%2Fcommunity%2F#!topic/adwords-api/Q62Hdmgtk08 > > It's possible that you are having the same problem that I had past week. > > Regards, > > Danilo. > > On Friday, March 22, 2013 4:03:45 PM UTC-3, F.Per wrote: >> >> Hi >> >> im trying to use oAuth2 with the webServerClient connection, and i get a >> "java.lang.ClassNotFoundException: >> com.google.api.client.util.Preconditions" when executing the following code: >> >> [code] >> GoogleAuthorizationCodeFlow authorizationFlow = new >> GoogleAuthorizationCodeFlow.Builder( >> new NetHttpTransport(), >> new JacksonFactory(), >> CLIENT_ID, >> CLIENT_SECRET, >> Lists.newArrayList(SCOPE)) >> .setApprovalPrompt("force") >> // Set the access type to offline so that the token can be >> refreshed. >> .setAccessType("offline").build(); >> [/code] >> >> Can anybody tell me why or what code to use instead because i do have the >> access to the package com.google.api.client.util. but there really is no >> such class called Preconditions. >> >> greez >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.