As the title states I have added mysql dependency:
val appName = "report"
val appVersion = "1.0-SNAPSHOT"
val appDependencies = Seq(
"com.google.apis" % "google-api-services-analytics" % "v3-rev15-1.8.0-beta",
"com.google.http-client" % "google-http-client-jackson2" % "1.11.0-beta",
"com.google.oauth-client" % "google-oauth-client-jetty" % "1.11.0-beta",
"mysql" % "mysql-connector-java" % "5.1.18",
)
val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings(
resolvers += "Google Analytics" at "http://mavenrepo.google-api-java-client.googlecode.com/hg"
)
This causes:
Caused by: java.lang.NoSuchMethodError: com.google.common.cache.CacheBuilder.maximumSize(I)Lcom/google/common/cache/CacheBuilder;
I guess there is something in the mysql dependencies that gets rid of that method... But what?