Results 1 to 2 of 2

Thread: No adapter for handler error - pls pls help

  1. #1

    Default 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
    Attached Files Attached Files

  2. #2

    Default

    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>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •