title: Robospice Impossible to start SpiceManager as no service of class
body: <p>I am trying to use following libraries to develop my app.</p>
  
  <ul>
  <li><p>Robospice</p></li>
  <li><p>Gson</p></li>
  <li><p>and Spring for android</p></li>
  </ul>
  
  <p>To do so, In my gradle file I have following dependencies added</p>
  
  <pre><code>compile 'com.octo.android.robospice:robospice-spring-android:1.4.13'
  compile 'com.google.code.gson:gson:2.2.4'
  </code></pre>
  
  <p>And in manifest file, I have following lines inserted inside application tag.</p>
  
  <pre><code>&lt;service
      android:name="com.octo.android.robospice.GsonSpringAndroidSpiceService"
      android:exported="false" /&gt;
  </code></pre>
  
  <p>Now, I created a base class that is used as Base Activity. And, I have did this in the following way:</p>
  
  <pre><code>public class BaseSpiceActivity extends Activity {
      private SpiceManager spiceManager = new SpiceManager(GsonSpringAndroidSpiceService.class);
  
      @Override
      protected void onStart() {
          spiceManager.start(this);
          super.onStart();
      }
  
      @Override
      protected void onStop() {
          spiceManager.shouldStop();
          super.onStop();
      }
  
      protected SpiceManager getSpiceManager() {
          return spiceManager;
      }  
  }
  </code></pre>
  
  <p>And then I used that base class to extend my own class where I had to use spice service request.</p>
  
  <pre><code>SimpleTextRequest text = new SimpleTextRequest(placeUrl);   
  getSpiceManager().execute(text, "place", DurationInMillis.ONE_MINUTE, new RequestListener&lt;String&gt;() { 
  
      //Other functions and codes
  
      }
  )
  </code></pre>
  
  <p>But when the above code gets executed, I am getting following error</p>
  
  <pre><code> E/AndroidRuntime﹕ FATAL EXCEPTION: SpiceManagerThread 0
  java.lang.RuntimeException: Impossible to start SpiceManager as no service of class : com.octo.android.robospice.SpiceService is registered in AndroidManifest.xml file !
          at com.octo.android.robospice.SpiceManager.checkServiceIsProperlyDeclaredInAndroidManifest(SpiceManager.java:1287)
          at com.octo.android.robospice.SpiceManager.tryToStartService(SpiceManager.java:1168)
          at com.octo.android.robospice.SpiceManager.run(SpiceManager.java:247)
          at java.lang.Thread.run(Thread.java:856)
  </code></pre>
  
  <p>I have been trying to solve the issue from many hours. But unfortunately couldn't. Please help me out.    </p>