Scala 对象draft10不是包com.google.api.client.googleapis.auth.oauth2的成员

Scala 对象draft10不是包com.google.api.client.googleapis.auth.oauth2的成员,scala,google-api,oauth-2.0,lift,sbt,Scala,Google Api,Oauth 2.0,Lift,Sbt,我正在用scala编译以下代码: 但它给了我以下错误: draft10 object is not a member of package com.google.api.client.googleapis.auth.oauth2 这是: setApplicationName value is not a member of scala.runtime.StringAdd 我想问题是我需要一些包裹 我需要帮助,请告诉我: 我可以下载所需软件包的存储库 软件包版本: 在我的sbt中,我有以下软

我正在用scala编译以下代码:

但它给了我以下错误:

draft10 object is not a member of package
com.google.api.client.googleapis.auth.oauth2
这是:

setApplicationName value is not a member of scala.runtime.StringAdd
我想问题是我需要一些包裹

我需要帮助,请告诉我:

我可以下载所需软件包的存储库

软件包版本:

在我的sbt中,我有以下软件包:

GoogleApi lazy val = "google-api-services" at 
"http://mavenrepo.google-api-java-client.googlecode.com/hg"

GoogleReleases lazy val = "Google Releases" at
"https://oss.sonatype.org/content/repositories/google-releases"


"com.google.api-client"% "google-api-client"% "1.11.0-beta"
"com.google.apis"% "google-api-services-oauth2"% "1.3.3-beta-v2"
"com.google.api.client"% "google-api-client"% "1.3.1-alpha"
问题在于:draft10,而不是从哪里获得软件包


感谢您的关注,我希望您能帮助我。

我将向您介绍javadoc:

它说draft10软件包从1.4版开始提供。因此,请更新sbt脚本以改用1.4版:

"com.google.api-client"% "google-api-client"% "1.4"
此外,请确保不要尝试使用同一库的多个版本。您发布的脚本同时引用了google api客户端的1.10.0-beta版和1.3.1-alpha版。

解决方案是:   用于SBT

以及存储库:

"http://mavenrepo.google-api-java-client.googlecode.com/hg/"

非常感谢你的帮助
"http://mavenrepo.google-api-java-client.googlecode.com/hg/"