title: Robospice : CachedSpiceReques.getSpiceRequest not found
body: <p>I just tried to integrate the robospice framework <a href="https://github.com/octo-online/robospice" rel="nofollow">https://github.com/octo-online/robospice</a> into my android app. I am not using maven so i followed the steps suggested in this thread <a href="https://github.com/octo-online/robospice/issues/17" rel="nofollow">https://github.com/octo-online/robospice/issues/17</a> to run it in a "non maven" style
  where i included the libs generated int the steps and included it in my android project:
  robospice-1.3.2-SNAPSHOT.jar and so forth</p>
  
  <p>Everything seemed to work just fine but it crashes after the REST call is sent, with the crash:</p>
  
  <pre><code>01-04 16:42:43.164: E/AndroidRuntime(2369): FATAL EXCEPTION: Thread-8
  01-04 16:42:43.164: E/AndroidRuntime(2369): java.lang.NoSuchMethodError:com.octo.android.robospice.request.CachedSpiceRequest.getSpiceRequest
  01-04 16:42:43.164: E/AndroidRuntime(2369):     at com.octo.android.robospice.SpringAndroidSpiceService.addRequest(SpringAndroidSpiceService.java:35)
  01-04 16:42:43.164: E/AndroidRuntime(2369):     at com.octo.android.robospice.SpiceManager.run(SpiceManager.java:179)
  01-04 16:42:43.164: E/AndroidRuntime(2369):     at java.lang.Thread.run(Thread.java:1096)
  </code></pre>
  
  <p>so it seems to me i do not have the right framework file hence the CachedSpiceRequest.getSpiceRequest ist missing.</p>
  
  <p>Does anybody know where this issue might come from? Maybe someone has a solution or knows which version of the framework works just fine since there is only a short tutorial at the github site which seems outdated.</p>
  
  <p>i appreciate any help.</p>
  
  <p>br Mike</p>
  
  <p><em>update</em>
  this is my service:</p>
  
  <pre><code>public class TractiveJSONSpiceService extends JacksonSpringAndroidSpiceService {
   /** Timeout when calling a web service (in ms). */
  private static final int WEBSERVICES_TIMEOUT = 30000;
  
  @Override
  public RestTemplate createRestTemplate() {
      RestTemplate restTemplate = super.createRestTemplate();
  
      HttpComponentsClientHttpRequestFactory httpRequestFactory = new HttpComponentsClientHttpRequestFactory();
      httpRequestFactory.setReadTimeout( WEBSERVICES_TIMEOUT );
      httpRequestFactory.setConnectTimeout( WEBSERVICES_TIMEOUT );
      restTemplate.setRequestFactory( httpRequestFactory );
  
      return restTemplate;
  }
  </code></pre>
  
  <p>the request is the same as in the tweet example:</p>
  
  <pre><code>public class TweetsRequest extends SpringAndroidSpiceRequest&lt; ListTweets &gt; {
  
  private String keyword;
  
  public TweetsRequest( String keyword ) {
      super( ListTweets.class );
      this.keyword = keyword;
  }
  
  @Override
  public ListTweets loadDataFromNetwork() throws Exception {
  
      // With Uri.Builder class we can build our url is a safe manner
      Uri.Builder uriBuilder = Uri.parse( "http://search.twitter.com/search.json" ).buildUpon();
      uriBuilder.appendQueryParameter( "q", keyword );
      uriBuilder.appendQueryParameter( "rpp", "100" );
      uriBuilder.appendQueryParameter( "lang", "en" );
  
      String url = uriBuilder.build().toString();
  
      return getRestTemplate().getForObject( url, ListTweets.class );
  }
  
  /**
   * This method generates a unique cache key for this request. In this case our cache key depends just on the
   * keyword.
   * 
   * @return
   */
  public String createCacheKey() {
      return "tweets." + keyword;
  }
  </code></pre>