Announcement Announcement Module
Collapse
No announcement yet.
No adapter for handler error - pls pls help Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • No adapter for handler error - pls pls help

    Hi,

    I am stuck while evaluating Spring Web Flow 2.0 with JSF for next project. (app server Ė Jboss 4.2.3)

    I have created 2 flows (1) Login (2) Adhoc.

    From Login I redirect to Adhoc. Attached is the code as zip for your reference.

    But when I hit the index URL, it gives me following error. I am new to Spring and donít have much exposure. I am completely stuck. Can anyone please help me.

    javax.servlet.ServletException: No adapter for handler [[FlowHandlerMapping.DefaultFlowHandler@14ace71]]: Does your handler implement a supported interface like Controller?
    org.springframework.web.servlet.DispatcherServlet. getHandlerAdapter(DispatcherServlet.java:982)
    org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:770)
    org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:716)


    The way I want to achieve this is from index.html, I want to invoke the login flow.

    Thanks in advance.

    Rgds - ssroy

  • #2
    Thanks. Its sorted.

    Changed

    <bean id="flowController" class="org.springframework.webflow.mvc.servlet.Flo wController">
    <property name="flowExecutor" ref="flowExecutor"/>
    </bean>

    To

    <bean class="org.springframework.webflow.mvc.servlet.Flo wHandlerAdapter">
    <property name="flowExecutor" ref="flowExecutor" />
    </bean>

    Comment

    Working...
    X