org.springframework.webflow.definition.registry.FlowDefinitionConstructionException: An exception occurred constructing the flow 'efetuarLogin'

Spring JIRA | Mauricio Noda | 8 years ago
  1. 0

    XML flow definition files are being accessed directly with absolute paths instead of indirectly through ServletContext. The result is you can´t use Web Flow with unexpanded war files in Weblogic. org.springframework.webflow.definition.registry.FlowDefinitionConstructionException: An exception occurred constructing the flow 'efetuarLogin' at org.springframework.webflow.engine.builder.DefaultFlowHolder.assembleFlow(DefaultFlowHolder.java:98) at org.springframework.webflow.engine.builder.DefaultFlowHolder.getFlowDefinition(DefaultFlowHolder.java:77) at org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl.getFlowDefinition(FlowDefinitionRegistryImpl.java:60) at org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:131) at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183) Truncated. see log file for complete stacktrace org.springframework.webflow.engine.builder.FlowBuilderException: Unable to get the model for this flow at org.springframework.webflow.engine.builder.model.FlowModelFlowBuilder.doInit(FlowModelFlowBuilder.java:144) at org.springframework.webflow.engine.builder.support.AbstractFlowBuilder.init(AbstractFlowBuilder.java:54) at org.springframework.webflow.engine.builder.FlowAssembler.assembleFlow(FlowAssembler.java:90) at org.springframework.webflow.engine.builder.DefaultFlowHolder.assembleFlow(DefaultFlowHolder.java:96) at org.springframework.webflow.engine.builder.DefaultFlowHolder.getFlowDefinition(DefaultFlowHolder.java:77) Truncated. see log file for complete stacktrace org.springframework.webflow.engine.model.builder.FlowModelBuilderException: Could not access the XML flow definition at ServletContext resource [/WEB-INF/flows/efetuarLogin/efetuarLogin.xml] at org.springframework.webflow.engine.model.builder.xml.XmlFlowModelBuilder.init(XmlFlowModelBuilder.java:114) at org.springframework.webflow.engine.model.builder.DefaultFlowModelHolder.assembleFlowModel(DefaultFlowModelHolder.java:86) at org.springframework.webflow.engine.model.builder.DefaultFlowModelHolder.getFlowModel(DefaultFlowModelHolder.java:61) at org.springframework.webflow.engine.builder.model.FlowModelFlowBuilder.doInit(FlowModelFlowBuilder.java:142) at org.springframework.webflow.engine.builder.support.AbstractFlowBuilder.init(AbstractFlowBuilder.java:54) Truncated. see log file for complete stacktrace java.io.FileNotFoundException: ServletContext resource [/WEB-INF/flows/efetuarLogin/efetuarLogin.xml] cannot be resolved to absolute file path - web application archive not expanded? at org.springframework.web.util.WebUtils.getRealPath(WebUtils.java:220) at org.springframework.web.context.support.ServletContextResource.getFile(ServletContextResource.java:141) at org.springframework.core.io.AbstractResource.getFileForLastModifiedCheck(AbstractResource.java:132) at org.springframework.core.io.AbstractResource.lastModified(AbstractResource.java:116) at org.springframework.webflow.engine.model.builder.xml.XmlFlowModelBuilder.init(XmlFlowModelBuilder.java:112) Truncated. see log file for complete stacktrace

    Spring JIRA | 8 years ago | Mauricio Noda
    org.springframework.webflow.definition.registry.FlowDefinitionConstructionException: An exception occurred constructing the flow 'efetuarLogin'
  2. 0

    XML flow definition files are being accessed directly with absolute paths instead of indirectly through ServletContext. The result is you can´t use Web Flow with unexpanded war files in Weblogic. org.springframework.webflow.definition.registry.FlowDefinitionConstructionException: An exception occurred constructing the flow 'efetuarLogin' at org.springframework.webflow.engine.builder.DefaultFlowHolder.assembleFlow(DefaultFlowHolder.java:98) at org.springframework.webflow.engine.builder.DefaultFlowHolder.getFlowDefinition(DefaultFlowHolder.java:77) at org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl.getFlowDefinition(FlowDefinitionRegistryImpl.java:60) at org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:131) at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183) Truncated. see log file for complete stacktrace org.springframework.webflow.engine.builder.FlowBuilderException: Unable to get the model for this flow at org.springframework.webflow.engine.builder.model.FlowModelFlowBuilder.doInit(FlowModelFlowBuilder.java:144) at org.springframework.webflow.engine.builder.support.AbstractFlowBuilder.init(AbstractFlowBuilder.java:54) at org.springframework.webflow.engine.builder.FlowAssembler.assembleFlow(FlowAssembler.java:90) at org.springframework.webflow.engine.builder.DefaultFlowHolder.assembleFlow(DefaultFlowHolder.java:96) at org.springframework.webflow.engine.builder.DefaultFlowHolder.getFlowDefinition(DefaultFlowHolder.java:77) Truncated. see log file for complete stacktrace org.springframework.webflow.engine.model.builder.FlowModelBuilderException: Could not access the XML flow definition at ServletContext resource [/WEB-INF/flows/efetuarLogin/efetuarLogin.xml] at org.springframework.webflow.engine.model.builder.xml.XmlFlowModelBuilder.init(XmlFlowModelBuilder.java:114) at org.springframework.webflow.engine.model.builder.DefaultFlowModelHolder.assembleFlowModel(DefaultFlowModelHolder.java:86) at org.springframework.webflow.engine.model.builder.DefaultFlowModelHolder.getFlowModel(DefaultFlowModelHolder.java:61) at org.springframework.webflow.engine.builder.model.FlowModelFlowBuilder.doInit(FlowModelFlowBuilder.java:142) at org.springframework.webflow.engine.builder.support.AbstractFlowBuilder.init(AbstractFlowBuilder.java:54) Truncated. see log file for complete stacktrace java.io.FileNotFoundException: ServletContext resource [/WEB-INF/flows/efetuarLogin/efetuarLogin.xml] cannot be resolved to absolute file path - web application archive not expanded? at org.springframework.web.util.WebUtils.getRealPath(WebUtils.java:220) at org.springframework.web.context.support.ServletContextResource.getFile(ServletContextResource.java:141) at org.springframework.core.io.AbstractResource.getFileForLastModifiedCheck(AbstractResource.java:132) at org.springframework.core.io.AbstractResource.lastModified(AbstractResource.java:116) at org.springframework.webflow.engine.model.builder.xml.XmlFlowModelBuilder.init(XmlFlowModelBuilder.java:112) Truncated. see log file for complete stacktrace

    Spring JIRA | 8 years ago | Mauricio Noda
    org.springframework.webflow.definition.registry.FlowDefinitionConstructionException: An exception occurred constructing the flow 'efetuarLogin'
  3. 0

    Exception if I declare Global transitions in flow - Spring Forum

    spring.io | 1 year ago
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.webflow.definition.registry.FlowDefinitionConstructionException: An exception occurred constructing the flow 'search-flow'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    No navigation between different views

    Stack Overflow | 7 months ago | Sara LOUKBACHE
    org.springframework.webflow.definition.registry.FlowDefinitionConstructionException: An exception occurred constructing the flow 'cu1-flow'
  6. 0

    [cas-user] Remote Address Authentication - Configuration Error on Documentation

    Google Groups | 1 year ago | Song, Doe-Hyun
    org.springframework.webflow.definition.registry.FlowDefinitionConstructionException: An exception occurred constructing the flow 'login'] with root cause org.xml.sax.SAXParseException; lineNumber: 82; columnNumber: 40; cvc-complex-type.2.4.a: Invalid content was found starting with element 'action'. One of '{"http://www.springframework.org/schema/webflow":attribute, "http://www.springframework.org/schema/webflow":secured, "http://www.springframework.org/schema/webflow":on-entry, "http://www.springframework.org/schema/webflow":evaluate, "http://www.springframework.org/schema/webflow":render, "http://www.springframework.org/schema/webflow":set, "http://www.springframework.org/schema/webflow":transition, "http://www.springframework.org/schema/webflow":on-exit, "http://www.springframework.org/schema/webflow":exception-handler}' is expected.

    Root Cause Analysis

    1. org.springframework.webflow.definition.registry.FlowDefinitionConstructionException

      An exception occurred constructing the flow 'efetuarLogin'

      at org.springframework.webflow.engine.builder.DefaultFlowHolder.assembleFlow()
    2. Spring Web Flow
      FlowHandlerAdapter.handle
      1. org.springframework.webflow.engine.builder.DefaultFlowHolder.assembleFlow(DefaultFlowHolder.java:98)
      2. org.springframework.webflow.engine.builder.DefaultFlowHolder.getFlowDefinition(DefaultFlowHolder.java:77)
      3. org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl.getFlowDefinition(FlowDefinitionRegistryImpl.java:60)
      4. org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:131)
      5. org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183)
      5 frames