Can't authorize with Dropbox Java SDK -


i started developing dropbox app. stucked on authorization. here's code:

package ubox.model;  import com.dropbox.core.*;  import java.util.locale;   public class dxauth  {     private dbxwebauthnoredirect webauth;       public void auth() //throws ioexception, dbxexception     {         final string app_key = "foo";         final string app_secret = "foo";          dbxappinfo appinfo = new dbxappinfo(app_key, app_secret);          dbxrequestconfig config = new dbxrequestconfig("javatutorial/1.0", locale.getdefault().tostring());          webauth = new dbxwebauthnoredirect(config, appinfo);      }        public string getauthorizeurl()     {         return webauth.start();     }  } 

i'm getting such error message:

exception in thread "main" java.lang.noclassdeffounderror: com/fasterxml/jackson/core/jsonparseexception     @ com.dropbox.core.dbxappinfo.<clinit>(dbxappinfo.java:112)     @ ubox.model.dxauth.auth(dxauth.java:17)     @ main.main(main.java:17) caused by: java.lang.classnotfoundexception: com.fasterxml.jackson.core.jsonparseexception     @ java.net.urlclassloader$1.run(urlclassloader.java:366)     @ java.net.urlclassloader$1.run(urlclassloader.java:355)     @ java.security.accesscontroller.doprivileged(native method)     @ java.net.urlclassloader.findclass(urlclassloader.java:354)     @ java.lang.classloader.loadclass(classloader.java:425)     @ sun.misc.launcher$appclassloader.loadclass(launcher.java:308)     @ java.lang.classloader.loadclass(classloader.java:358)     ... 3 more 

i have included jars build path dropbox. suggestions? thanks.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -