NoClassDeffoundError in spring android
<p>Hi guys I am facing problrm as NoClassDeffound: org.springframework.web.client.RestTemplate.
I don't know how it will removed? Please suggest me the solution.</p>

<blockquote>
  <p>Error: 05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):
  java.lang.NoClassDefFoundError:
  org.springframework.web.client.RestTemplate
  05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):     at
  org.shopzilla.android.parsing.SearchResult_Json.json_parse(SearchResult_Json.java:10)
  05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):     at
  org.shopzilla.android.search.SearchResultActivity$1.onClick(SearchResultActivity.java:26)
  05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):     at
  android.view.View.performClick(View.java:2408)
  05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):     at
  android.view.View$PerformClick.run(View.java:8816)
  05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):     at
  android.os.Handler.handleCallback(Handler.java:587)
  05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):     at
  android.os.Handler.dispatchMessage(Handler.java:92)
  05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):     at
  android.os.Looper.loop(Looper.java:123)
  05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):     at
  android.app.ActivityThread.main(ActivityThread.java:4627)
  05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):     at
  java.lang.reflect.Method.invokeNative(Native
  Method) 05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):     at
  java.lang.reflect.Method.invoke(Method.java:521)
  05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):     at
  com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
  05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):     at
  com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
  05-16 15:59:03.324:
  ERROR/AndroidRuntime(296):     at
  dalvik.system.NativeStart.main(Native
  Method)</p>
</blockquote>

<p>code:</p>

<pre><code>public void json_parse()
    {
        RestTemplate restTemplate = new RestTemplate();
        String url = "http://catalog.bizrate.com/services/catalog/v1/us/product/2?publisherId=50085&amp;placementId=1&amp;categoryId=1&amp;keyword=iphone+cases&amp;start=0&amp;results=10&amp;sort=relevancy_desc&amp;brandId=&amp;attFilter=&amp;zipCode=90291&amp;biddedOnly=&amp;minRelevancyScore=100&amp;apiKey=58f536aa2fab110bbe0da501150bac1e&amp;format=json";
        String result = restTemplate.getForObject(url, String.class, "SpringSource");
        System.out.println("Result:"+result);

    }
</code></pre>
