2012-10-22 3 views
0

JSF와 함께 사용하기 위해 웹 플로우 구성을 시도하고 있습니다. 다음 사이트에서JSF와 함께 사용하기 위해 웹 플로우 구성

http://static.springsource.org/spring-webflow/docs/2.3.x/reference/html/ch13s04.html

그러나 나는 다음과 같은 오류가 무엇입니까 :

<?xml version="1.0" encoding="UTF-8"?> 
<beans xmlns="http://www.springframework.org/schema/beans" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:webflow="http://www.springframework.org/schema/webflow-config" 
    xmlns:faces="http://www.springframework.org/schema/faces" 
    si:schemaLocation=" 
     http://www.springframework.org/schema/beans 
     http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 
     http://www.springframework.org/schema/webflow-config 
     http://www.springframework.org/schema/webflow-config/spring-webflow-config-2.3.xsd 
     http://www.springframework.org/schema/faces 
     http://www.springframework.org/schema/faces/spring-faces-2.2.xsd"> 

    <!-- Executes flows: the central entry point into the Spring Web Flow system --> 
    <webflow:flow-executor id="flowExecutor"> 
     <webflow:flow-execution-listeners> 
      <webflow:listener ref="facesContextListener"/> 
     </webflow:flow-execution-listeners> 
    </webflow:flow-executor> 

    <!-- The registry of executable flow definitions --> 
    <webflow:flow-registry id="flowRegistry" flow-builder-services="flowBuilderServices" base-path="/WEB-INF"> 
     <webflow:flow-location-pattern value="**/*-flow.xml" /> 
    </webflow:flow-registry> 

    <!-- Configures the Spring Web Flow JSF integration --> 
    <faces:flow-builder-services id="flowBuilderServices" /> 

    <!-- A listener maintain one FacesContext instance per Web Flow request. --> 
    <bean id="facesContextListener" 
     class="org.springframework.faces.webflow.FlowFacesContextLifecycleListener" /> 

</beans> 

답변

1

에 의해 si:schemaLocation="...을 변경해보십시오 : 여기

Description Resource Path Location Type 
The prefix "si" for attribute "si:schemaLocation" associated with an element type "beans" is not bound. flowwithjsf.xml /WebFlowWithJSFIntegration/src/main/webapp/WEB-INF/spring line 12 XML Problem 

내 XML은 그냥 사이트처럼 보이는입니다 xsi:schemaLocation="...
나는이 오류가 발생했다고 생각합니다.

,
+0

"이 스키마를 사용하려면 인프라 계층 콩 파일 중 하나에 포함". http://stackoverflow.com/questions/13050584/trying-to-add-jsf-to-my-spring-webflow-project-and-now-my-webflow-will-not-worki – techsjs2012

0

내가 변화를 만들었지 만 지금은이 오류를 얻고있다 .. 그것은 도움이되지 않았다 10.2 Spring docs

관련 문제