title: Cannot locate BeanDefinitionParser for element [executor]
body: <p>I'm trying to learn Spring MVC 2.0 and Spring Web Flow 1.0. </p>
  
  <p>I get following error (possibly when the dispatcher delegates a request to flow):</p>
  
  <blockquote>
    <p>Configuration problem: Cannot locate BeanDefinitionParser for element [executor]</p>
  </blockquote>
  
  <p>I am using the Spring 2.0 and Web Flow 1.0 jar files in the application's build path.</p>
  
  <p>Below is my Spring MVC 2.0 configuration file:</p>
  
  <pre><code>&lt;bean name="/phonebook.htm" 
        class="org.springframework.webflow.executor.mvc.FlowController"&gt;
      &lt;property name="flowExecutor" ref="flowExecutor"/&gt; 
  &lt;/bean&gt; 
  &lt;!-- Resolves flow view names to .jsp templates --&gt; 
  &lt;bean id="viewResolver"
        class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt; 
      &lt;property name="prefix" value="/WEB-INF/jsp/"/&gt; &lt;property name="suffix" value=".jsp"&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>And my Spring Web Flow 1.0 config:</p>
  
  <pre><code>&lt;flow:executor id="flowExecutor" registry-ref="flowRegistry"/&gt; 
  &lt;!-- Creates the registry of flow definitions for this application --&gt; 
  &lt;flow:registry id="flowRegistry"&gt; &lt;flow:location path="/WEB-INF/flows/**-flow.xml"/&gt;
  &lt;/flow:registry&gt; 
  </code></pre>