2

I keep getting this error:

Unable to find matching navigation case with from-view-id '/index.xhtml' for action '/faces/index.xhtml' with outcome 'finish_setup'

The program works, redirecting my url to /Setup on form submission. However, this error always pops up despite me not having a faces-config.xml. When I do include a faces-config.xml, the program breaks. I want the form submission to go to the next page as /Setup, not as /faces/setup.xhtml. I am using PrettyFaces with JSF 2.0.

4

1 回答 1

2

此错误基本上意味着您没有/finish_setup.xhtml文件。相应地修复它。也许您打错了文件名或不理解 JSF 2 隐式导航的工作原理。

于 2011-10-24T18:01:40.550 回答