You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we're trying to bring a legacy WAR application (once deployed on an ordinary Application Server) over to Spring Boot (as a JAR).
The application uses WebFlow and Faces, among other stuff; and it uses JSF as the templating technology. Configuring the all of this as shown in the WebFlowConfiguration.java attachment and positioning the other two attachments over into src/main/resources/flows/view just doesn't work.
What happens is that the flow is 100% reachable on the address:
Sorry, I inadvertedly submitted the issue without even completing it and cannot find how to edit it. :( I'll continue here:
The problem is that the flow is reachable, but when it tries to load the xhtml, the FlowViewHandler Spring class trips upon this:
thrownewIllegalStateException("A ContextResource is required to get relative view paths within this context; the resource was " + viewResource);
so it looks like that Spring Faces just cannot load templates from the classpath. Is this correct? What is the correct way to expose flows and templates on a SpringBoot/WebFlow/Faces application?
Danilo opened SWF-1745 and commented
Hello,
we're trying to bring a legacy WAR application (once deployed on an ordinary Application Server) over to Spring Boot (as a JAR).
The application uses WebFlow and Faces, among other stuff; and it uses JSF as the templating technology. Configuring the all of this as shown in the WebFlowConfiguration.java attachment and positioning the other two attachments over into src/main/resources/flows/view just doesn't work.
What happens is that the flow is 100% reachable on the address:
http://localhost:8080/context-path/mvc-servlet-path/view
Affects: 2.5.1
Attachments:
The text was updated successfully, but these errors were encountered: