私はscalaで次のコードをコンパイルしています:
https://gist.github.com/3236096
しかし、それは私に次のエラーを与えます:
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、パッケージの入手先ではありません。
ご清聴ありがとうございました。お役に立てれば幸いです。