title: Couchbase with Spring data using spring config example
body: <p>I am a newbie to couchbase. I am using spring in my application through which I am trying to connect to couchbase in my local. I am trying to create a couchbase template(similar to what is done in mongo template) in configurations as below:</p>
  
  <p><a href="http://i.stack.imgur.com/lBHlh.png" rel="nofollow">Spring configuration</a></p>
  
  <p><a href="http://i.stack.imgur.com/ge9J1.png" rel="nofollow">Repository using couchbase template</a></p>
  
  <p>But when I start application, I get autowiring errors and I am unable to fetch back anything. Can some please help with above issue?
  Or if someone can share sample code to extract data from couchbase using sprin-data &amp; spring configuration? Please help!</p>