SpringWeb流请求映射不工作

SpringWeb流请求映射不工作,spring,spring-webflow,Spring,Spring Webflow,我正在尝试测试SpringWebFlow,但无法根据我使用的映射访问该流。我肯定我错过了一些简单的东西,但这是我的设置 web.xml: <servlet> <servlet-name>accommodations</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <load-on-star

我正在尝试测试SpringWebFlow,但无法根据我使用的映射访问该流。我肯定我错过了一些简单的东西,但这是我的设置

web.xml:

<servlet>
<servlet-name>accommodations</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>accommodations</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/datasource-config.xml
/WEB-INF/security-config.xml
/WEB-INF/webflow-config.xml
/WEB-INF/aop-config.xml
</param-value>
</context-param>
webflow配置:

<flow:flow-registry id="flowRegistry" base-path="/WEB-INF/flows/" >
<flow:flow-location-pattern  value="**/*-flow.xml"/>
</flow:flow-registry>

<flow:flow-executor id="flowExecutor" flow-registry="flowRegistry"/>

<bean class="org.springframework.webflow.mvc.servlet.FlowHandlerMapping">
<property name="flowRegistry" ref="flowRegistry"/>
</bean>

<bean class="org.springframework.webflow.mvc.servlet.FlowHandlerAdapter">
<property name="flowExecutor" ref="flowExecutor"/>
</bean>
</beans>
流xml定义位于WEB-INF/flows/accountations/accountations-flow.xml中, 因此,我的理解是/住宿应与流程相匹配

当我将浏览器指向/住宿时,我收到404


我犯了什么错误?

尝试/调整流程