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