JSF 2.2의 f : viewAction을 사용하려고하지만 작동하지 않습니다.JSF 2.2 네임 스페이스를 찾을 수 없음
내 얼굴-설정 :
<faces-config version="2.2"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
XHTML-정의 :
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<f:metadata>
<f:viewAction action="#{bean.welcomeUser()}" onPostback="false" />
</f:metadata>
...
</html>
문제는 경고와 함께합니다 (F, H 및 UI - 네임 스페이스를 강조한다는 것입니다 : NLS 누락 메시지 : CANNOT_FIND_FACELET_TAGLIB 속 : org.eclipse.jst.jsf.core.validation.internal.facelet.messages)
다시 작동 시키려면 어떻게해야합니까? 다음, 난 내 프로젝트에 JSF IMPL 2.2 API 2.2을 포함 , 경고가 사라지지만 :
가 EDIT (전에서 MyFaces-IMPL-2.2.0과에서 MyFaces-API-2.2.0를 포함했다) 컴파일하면 큰 문제가 발생합니다 (공장을 찾을 수 없음 등)
(서버/워크/무엇이든)? – SJuan76
Eclipse를 사용하고 있습니까? –
그리고 왜 완성되지 않은'faces-config.xml'을 게시 했습니까? –