Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8400987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:41:26+00:00 2026-06-09T21:41:26+00:00

I am trying to work a webflow project but I keep getting the following

  • 0

I am trying to work a webflow project but I keep getting the following error that it cant find my controller?

Here is my flow code:

<flow xmlns="http://www.springframework.org/schema/webflow"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/webflow
                          http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd">

    <var name="member" class="org.uftwf.enrollment.domain.Member" />

    <decision-state id="checkIsInPending">
        <if test="FlowActions.isInPending()" then="endStateMemeberPending" else="name" />
    </decision-state>

    <view-state id="name" view="enrollment1.jsp">
        <transition on="submit" to="SSNonFile" />
        <transition on="cancel" to="endState" bind="false" />
    </view-state>

    <action-state id="SSNOnFile">
     <evaluate expression="FlowActions.isSSNOnFile(member)" />
         <transition on="SUCCESS" to="endStateNoSSN" />
        <transition on="FAIL" to="isMemeber" />
    </action-state>

    <action-state id="isMemeber">
     <evaluate expression="FlowActions.isMemeber(member)" />
         <transition on="SUCCESS" to="endStateMemeberExists" />
        <transition on="FAIL" to="isDeceased" />
    </action-state>

    <action-state id="isDeceased">
     <evaluate expression="FlowActions.isDeceased(member)" />
         <transition on="SUCCESS" to="endStateMemeberExists" />
        <transition on="FAIL" to="address" />
    </action-state>

    <view-state id="address" view="enrollment2.jsp">
        <transition on="submit" to="endStateSuccess" />
        <transition on="cancel" to="name" bind="false" />
    </view-state>


    <view-state id="preview" model="customer">
        <transition on="cancel" to="name" />
        <transition on="accept" to="endStateSuccess">
            <evaluate expression="FlowActions.addCustomer(member)" />
        </transition>
    </view-state>

    <!-- End state -->
    <end-state id="endStateMemberDeceased" view="unsuccessful.jsp" />
    <end-state id="endStateNoSSN" view="noSSN.jsp" />
    <end-state id="endStateMemeberExists" view="exists.jsp" />
    <end-state id="endStateMemeberPending" view="pending.jsp" />
    <end-state id="endStateSuccess" view="success.jsp" />



</flow>

Here is my controller code:

package org.uftwf.enrollment.controller.swf;
import static org.apache.log4j.Logger.getLogger;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.uftwf.enrollment.domain.Member;
import org.uftwf.enrollment.service.TestService;

@Component
public class FlowActions {

    @Autowired
    private TestService testService;

    private static final Logger LOGGER = getLogger(FlowActions.class);

    public void addCustomer(Member customer) {
    //  testService.saveCustomer(customer);
    }

    public boolean isInPending()
    {
        LOGGER.debug("in side isInPending()");
        return false;
    }

    public void isSSNOnFile(Member customer)
    {

    }

    public void isMemeber(Member customer)
    {

    }

    public void isDeceased(Member customer)
    {

    }





}

Crazy error. my project cant find controller with webflow..

SEVERE: Servlet.service() for servlet [spring] in context with path [/enrollment] threw exception [Request processing failed; nested exception is org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'checkIsInPending' of flow 'enroll'] with root cause
org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 0): Field or property 'FlowActions' cannot be found on object of type 'org.springframework.webflow.engine.impl.RequestControlContextImpl'

Here is my root-config.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:context="http://www.springframework.org/schema/context"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd">

    <import resource="mvc.xml" />
    <import resource="flow.xml" />
    <import resource="domain.xml" />


    <context:component-scan base-package="org.uftwf.enrollment.controller" />



</beans>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T21:41:27+00:00Added an answer on June 9, 2026 at 9:41 pm

    You should be referencing the bean flowActions, not the class FlowActions. Try changing the case of the initial ‘f’.

    E.g.

    <if test="flowActions.isInPending()" then="endStateMemeberPending" else="name" />

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to work with following code i getting this error at xsltProcessor.importStylesheet Error
Programming Student here...trying to work on a project but I'm stuck. The project is
I'm trying to work through the problems on projecteuler.net but I keep running into
I'm trying to work with a database that I have, but I can't display
Trying to work with groupby so that I can group together files that were
i am trying to work out the following problem in Java (although it could
So I am trying to work through the example here: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/SurfaceViewOverlay.html and on the
I am just getting started with Spring (MVC,Webflow etc etc) and I am trying
Im trying to work with UISearchDisplay controller the application is launching correctly. When i
Trying to work with array, but it gives me Statement requires expression of integer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.