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 9177863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:25:25+00:00 2026-06-17T17:25:25+00:00

in the flow: <action-state id=create> <evaluate expression=operatore_rer result=flowScope.operatore_rer /> <evaluate expression=mainService.getComuni() result=flowScope.comuni_list /> <transition

  • 0

in the flow:

<action-state id="create">
        <evaluate expression="operatore_rer" result="flowScope.operatore_rer" />
        <evaluate expression="mainService.getComuni()" result="flowScope.comuni_list" />
        <transition to="nuovo-operatore-rer" />
    </action-state>

evaluate expression doesn’t call the method mainService.getComuni()

where and how i have to declare mainService????

if i declare this in applicationContext:

<bean id="mainService" class="com.aieap.services.MainService" />

this is the error:

GRAVE: StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mainService' defined in ServletContext resource [/WEB-INF/dispatch-servlet.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.aieap.services.MainService]: Specified class is an interface

help me

  • 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-17T17:25:27+00:00Added an answer on June 17, 2026 at 5:25 pm

    Set @Service("mainService") annotation to the class that implements the MainService interface and refer that class in the bean instead of interface. In that way the bean get’s initialized and you can call that in your web flow.

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

Sidebar

Related Questions

Spring Web Flow Action-State what should controller return? Look at my flow below I
In my Spring web flow app, one of my action-state transitions looks like this:
My view-state to action-state transition does not appear to be happening. In the following
How to redirect program flow to a controller action. I would like to simulate
I have question regarding redirection in Grails web-flow. I am in a view state
I am trying to transition to next state of a WebFlow using Ajax requests.
i have this grails webflow def currencyDescriptionFlow = { start { action { flow.messageCommand
I'm looking for more and better documentation about snapshots, flow repositories, and flow state
Flow player claims that it supports all file formats. Do the video files need
At Flow Pilots , we'd love to keep track how many people install and

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.