jsf结果错误,但未声明

jsf结果错误,但未声明,jsf,Jsf,我的jsf页面显示错误 unable to find matching navigation case with from view id for action 'index' unable to find matching navigation case with from view id for action 'login' 但我从不声明任何结果索引和登录,即使是从faces配置。 但它在每一页上都有显示 这是我的jsf <?xml version="1.0" encoding="I

我的jsf页面显示错误

unable to find matching navigation case with from view id for action 'index'
unable to find matching navigation case with from view id for action 'login'
但我从不声明任何结果索引和登录,即使是从faces配置。 但它在每一页上都有显示

这是我的jsf

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
xmlns:lcg="http://www.lassitercg.com/jsf">
<f:metadata>
<f:viewParam name="id" value="#{bean.bean_id}"></f:viewParam>
<f:event listener="#{bean.init}" type="preRenderView"></f:event>
</f:metadata>
<h:head>
</h:head>
<h:body>
<ui:composition template="../layout.xhtml">
    <ui:define name="content">          
        <h:form id="form_id">
            <h:messages id="form_messages" style="color:red;margin:8px;"></h:messages>              
            <p:commandButton value="submit" action="#{bean.submitForm}"></p:commandButton>
            <p:button outcome="cancel" value="Cancel"></p:button>
        </h:form>
    </ui:define>
</ui:composition>
</h:body>
</html>


页面中没有任何
UICommand
组件?我不这么认为。但这里有一个奇怪的部分。我的代码在我的计算机上运行良好,但是当我将其移动到我朋友的计算机上时,我假设您没有提供完整的错误表达式。如果是这样,请在
faces-config
文件之外发布它们。