Using Dropbox Java API for uploading files to dropbox

前端 未结 3 1094
暗喜
暗喜 2020-12-09 14:13

I want to upload files using the java API for DropBox. The following code gets me the oauth_token and oauth_secret. but when ever I try to upload a file I get a exception.

3条回答
  •  心在旅途
    2020-12-09 14:48

    Your class should NOT be in package com.dropbox.client. Try moving it to a different (i.e. com.yourname.client). It looks like you might be creating a name clash and inadvertently overriding something in the Dropbox client API.

提交回复
热议问题