Grails ClassNotFoundException com.google.common.collect.Maps

Posted by user1734199 on Stack Overflow See other posts from Stack Overflow or by user1734199
Published on 2012-10-10T08:58:46Z Indexed on 2012/10/10 9:37 UTC
Read the original article Hit count: 205

I need some help, I am trying to make an controller using Google Analytics API, but using:

statsController.groovy
/**************************************************************/

import com.google.gdata.client.analytics.AnalyticsService

class StatsController {

 def myService

 def stats(){

   myService = new AnalyticsService("example-App");
 }

}

/************************************************************/

error Message:

ClassNotFoundException occurred when processing request: [...] com.google.common.collect.Maps

I ve tryed adding to the buildpath the "gdata.analytics*.jar", "google-collect-1.0.jar", "guava.jar" and "jsr305.jar" but without results, the error always says that i described or NotDefClassError ocurred when processing request: [...] com.google.gdata.client.analytics.AnalyticsService.

I need to solve.

© Stack Overflow or respective owner

Related posts about grails

Related posts about classnotfoundexception