title: No adapter for handler exception
body: <p>I'm developing a web application using spring mvc framework. I want to to both annotation and beanName based url mappings.</p>
  
  <p>I've the following configurations in my context file</p>
  
  <pre><code>&lt;mvc:annotation-driven /&gt;
  
  &lt;bean class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping"&gt;&lt;/bean&gt;
  </code></pre>
  
  <p>My annotation based controllers are working fine but beanNamed based url mapping are throwing the exception "No adapter for handler".</p>
  
  <p>What am I doing wrong here?</p>
  
  <p>Thank you</p>