Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

changook's avatar
changook
Explorer | Level 3
8 years ago

SDK 3.0.3 DbxRequestConfig problem

Today I got a email about Asking update dropbox SDK from dropBox API team.

So I changed pom.xml like below.

(I'm a Java server developer.)

 

<!-- https://mvnrepository.com/artifact/com.dropbox.core/dropbox-core-sdk -->
<dependency>
<groupId>com.dropbox.core</groupId>
<artifactId>dropbox-core-sdk</artifactId>
<version>3.0.3</version>
</dependency>

 

And then I've met a compile error 

"The type com.dropbox.core.DbxRequestConfig cannot be resolved. It is indirectly referenced from required .class"

at this code 

 

DbxRequestConfig config = new DbxRequestConfig("myApp/1.0");

 

and "DbxException can not be resolved" error too.

 

but when I had import SDK 3.0.2 there is No compile Error.

 

What shall I do? Can I use 3.0.2 instead of 3.0.3 ?

 

I use only 4 methods what access to dropBox folder.

client.files().move( )

client.files().delete( )

client.files().uploadBuilder(path).uploadAndFinish( );

client.files().downloadBuilder(path).download( )

2 Replies

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!