Announcement Announcement Module
Collapse
No announcement yet.
Exception in webflow sample projects Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exception in webflow sample projects

    I tried to run webflow sample projects from tomcat, and I got the following exception. I have deployed successfully. Please help me to run correctly.

    Thanks.


    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'flowController' defined in ServletContext resource [/WEB-INF/webflow-servlet.xml]: Can't resolve reference to bean 'flowExecutor' while setting property 'flowExecutor'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'flowExecutor' defined in ServletContext resource [/WEB-INF/webflow-servlet.xml]: Can't resolve reference to bean 'repositoryFactory' while setting property 'constructor argument'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'repositoryFactory' defined in ServletContext resource [/WEB-INF/webflow-servlet.xml]: Can't resolve reference to bean 'flowRegistry' while setting property 'constructor argument'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'flowRegistry' defined in ServletContext resource [/WEB-INF/webflow-servlet.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/enums/StaticLabeledEnum
    org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:180)
    org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:105)
    org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:1012)
    org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(AbstractAu towireCapableBeanFactory.java:823)
    org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:345)
    org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:226)
    org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:147)
    org.springframework.context.support.AbstractApplic ationContext.getBean(AbstractApplicationContext.ja va:553)
    org.springframework.web.servlet.handler.AbstractUr lHandlerMapping.registerHandler(AbstractUrlHandler Mapping.java:186)
    org.springframework.web.servlet.handler.SimpleUrlH andlerMapping.initApplicationContext(SimpleUrlHand lerMapping.java:96)
    org.springframework.context.support.ApplicationObj ectSupport.setApplicationContext(ApplicationObject Support.java:79)
    org.springframework.context.support.ApplicationCon textAwareProcessor.postProcessBeforeInitialization (ApplicationContextAwareProcessor.java:84)
    org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyBeanPostProcessors BeforeInitialization(AbstractAutowireCapableBeanFa ctory.java:248)
    org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:362)
    org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:226)
    org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:147)
    org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:275)
    org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:318)
    org.springframework.web.context.support.AbstractRe freshableWebApplicationContext.refresh(AbstractRef reshableWebApplicationContext.java:134)
    org.springframework.web.servlet.FrameworkServlet.c reateWebApplicationContext(FrameworkServlet.java:3 05)
    org.springframework.web.servlet.FrameworkServlet.i nitWebApplicationContext(FrameworkServlet.java:250 )
    org.springframework.web.servlet.FrameworkServlet.i nitServletBean(FrameworkServlet.java:219)
    org.springframework.web.servlet.HttpServletBean.in it(HttpServletBean.java:112)
    javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
    org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:856)
    org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.processConnection(Http11Protocol.jav a:744)
    org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    java.lang.Thread.run(Thread.java:595)
    Last edited by khaingn; Jul 7th, 2006, 07:01 PM.

  • #2
    You need Spring 1.2.7 or greater; looks to me like you're missing spring-core.jar or have an older version. If you use the sample build steps described in the readme they will compile against 2.0-m5.

    Keith

    Comment


    • #3
      Thank you for reply. I know I used 1.2.6. I will try with updated version.

      Comment

      Working...
      X