Note that there are some explanatory texts on larger screens.

plurals
  1. POSpring WebFlow - problem with rest mapping
    text
    copied!<p>I have problem with mapping in Spring Webflow 2.3.0</p> <p>I got error when I want to excute:</p> <p><a href="http://localhost:8090/myWebApp/" rel="nofollow">http://localhost:8090/myWebApp/</a><strong>register/other</strong></p> <p><a href="http://localhost:8090/myWebApp/verify" rel="nofollow">http://localhost:8090/myWebApp/verify</a> or <a href="http://localhost:8090/myWebApp/register" rel="nofollow">http://localhost:8090/myWebApp/register</a> etc works </p> <p>Can anybody help?</p> <pre><code>&lt;bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"&gt; &lt;property name="order"&gt; &lt;value&gt;1&lt;/value&gt; &lt;/property&gt; &lt;property name="mappings"&gt; &lt;value&gt; /register=flowController /verify=flowController /forgotPassword=flowController /register/other=flowController &lt;/value&gt; &lt;/property&gt; &lt;property name="alwaysUseFullPath" value="true" /&gt; &lt;/bean&gt; ... &lt;webflow:flow-registry id="flowRegistry" flow-builder-services="flowBuilderServices"&gt; &lt;webflow:flow-location id="verify" path="/WEB-INF/flows/verify.xml"&gt;&lt;/webflow:flow-location&gt; &lt;webflow:flow-location id="register" path="/WEB-INF/flows/register.xml"&gt;&lt;/webflow:flow-location&gt; &lt;webflow:flow-location id="changeLang" path="/WEB-INF/flows/changeLang.xml"&gt;&lt;/webflow:flow-location&gt; &lt;webflow:flow-location id="forgotPassword" path="/WEB-INF/flows/forgotPassword.xml"&gt;&lt;/webflow:flow-location&gt; &lt;webflow:flow-location id="register/other" path="/WEB-INF/flows/other.xml"&gt;&lt;/webflow:flow-location&gt; &lt;/webflow:flow-registry&gt; </code></pre> <p>I got error in runtime:</p> <p><a href="http://localhost:8090/myWebApp/register/other" rel="nofollow">http://localhost:8090/myWebApp/register/other</a></p> <p>org.springframework.webflow.definition.registry.NoSuchFlowDefinitionException: No flow definition 'other' found</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload