[英]Google Drive Java Quick Start Guide Warning
以下是錯誤。
WARNING: Application name is not set. Call Builder#setApplicationName.
Exception in thread "main" java.io.FileNotFoundException: document.txt (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at com.google.api.client.http.FileContent.getInputStream(FileContent.java:71)
at com.google.api.client.googleapis.media.MediaHttpUploader.upload(MediaHttpUploader.java:361)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:418)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:343)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:460)
at DriveCommandLine.main(DriveCommandLine.java:56)
快速入門應用程序將從您的本地文件系統上載document.txt文件上傳到雲端硬盤。 在執行代碼之前,請將任何名為document.txt的文件放在應用程序的工作目錄中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.