<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Exception java.lang.NoClassDefFoundError: Could not initialize class com.dropbox.core.DbxHost in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Exception-java-lang-NoClassDefFoundError-Could-not-initialize/m-p/247103#M14123</link>
    <description>&lt;P&gt;I am creating a Java webapp with dropbox sdk. The code is&lt;/P&gt;&lt;PRE&gt;StandardHttpRequestor.Config.Builder requestorConfigBuilder = StandardHttpRequestor.Config
			.builder();

		List&amp;lt;Proxy&amp;gt; proxies = ProxySelector.getDefault().select(new URI("https://www.dropbox.com"));
		for (Proxy proxy : proxies)
		{
			requestorConfigBuilder.withProxy(proxy);
		}

		StandardHttpRequestor.Config requestorConfig = requestorConfigBuilder.build();
		StandardHttpRequestor httpRequestor = new StandardHttpRequestor(requestorConfig);

		DbxRequestConfig requestConfig = DbxRequestConfig.newBuilder(this.accessToken)
			.withHttpRequestor(httpRequestor)
			.build();
		return new DbxClientV2(requestConfig, this.accessToken); //exception is thrown from here&lt;/PRE&gt;&lt;P&gt;The stack trace is&lt;/P&gt;&lt;PRE&gt;java.lang.NoClassDefFoundError: Could not initialize class com.dropbox.core.DbxHost
	at com.dropbox.core.v2.DbxClientV2.&amp;lt;init&amp;gt;(DbxClientV2.java:31)&lt;/PRE&gt;&lt;P&gt;Anyone knows what I did wrong?&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:18:13 GMT</pubDate>
    <dc:creator>APITestDAM</dc:creator>
    <dc:date>2019-05-29T09:18:13Z</dc:date>
    <item>
      <title>Exception java.lang.NoClassDefFoundError: Could not initialize class com.dropbox.core.DbxHost</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Exception-java-lang-NoClassDefFoundError-Could-not-initialize/m-p/247103#M14123</link>
      <description>&lt;P&gt;I am creating a Java webapp with dropbox sdk. The code is&lt;/P&gt;&lt;PRE&gt;StandardHttpRequestor.Config.Builder requestorConfigBuilder = StandardHttpRequestor.Config
			.builder();

		List&amp;lt;Proxy&amp;gt; proxies = ProxySelector.getDefault().select(new URI("https://www.dropbox.com"));
		for (Proxy proxy : proxies)
		{
			requestorConfigBuilder.withProxy(proxy);
		}

		StandardHttpRequestor.Config requestorConfig = requestorConfigBuilder.build();
		StandardHttpRequestor httpRequestor = new StandardHttpRequestor(requestorConfig);

		DbxRequestConfig requestConfig = DbxRequestConfig.newBuilder(this.accessToken)
			.withHttpRequestor(httpRequestor)
			.build();
		return new DbxClientV2(requestConfig, this.accessToken); //exception is thrown from here&lt;/PRE&gt;&lt;P&gt;The stack trace is&lt;/P&gt;&lt;PRE&gt;java.lang.NoClassDefFoundError: Could not initialize class com.dropbox.core.DbxHost
	at com.dropbox.core.v2.DbxClientV2.&amp;lt;init&amp;gt;(DbxClientV2.java:31)&lt;/PRE&gt;&lt;P&gt;Anyone knows what I did wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:18:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Exception-java-lang-NoClassDefFoundError-Could-not-initialize/m-p/247103#M14123</guid>
      <dc:creator>APITestDAM</dc:creator>
      <dc:date>2019-05-29T09:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exception java.lang.NoClassDefFoundError: Could not initialize class com.dropbox.core.DbxHost</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Exception-java-lang-NoClassDefFoundError-Could-not-initialize/m-p/247239#M14140</link>
      <description>Your code looks fine at a glance. What version of the SDK do you have installed and how did you install it?</description>
      <pubDate>Mon, 16 Oct 2017 17:02:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Exception-java-lang-NoClassDefFoundError-Could-not-initialize/m-p/247239#M14140</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-16T17:02:18Z</dc:date>
    </item>
  </channel>
</rss>

