小编Axe*_*uez的帖子

无法解析 JSF 应用程序中的文档 faces-config.xml

我正在开发一个 JSF Web 应用程序。我将 JSF 2.2 与 Apache Tomcat 8.0.27.0 一起使用。当我按 clean & build 时它工作正常,但是当我尝试运行我的应用程序时,我得到了这个异常:

     com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: com.sun.faces.config.ConfigurationException: Unable to parse document 'file:/C:/Users/axeli/Desktop/SeminarioPagina/build/web/WEB-INF/faces-config.xml': null

    28-Feb-2016 18:00:19.275 INFO [http-nio-8084-exec-10] org.apache.catalina.util.LifecycleBase.stop The stop() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] after stop() had already been called. The second call will be ignored.
    28-Feb-2016 18:00:19.777 INFO [http-nio-8084-exec-10] org.apache.catalina.startup.HostConfig.undeploy Repliegue (undeploy) de la aplicación web que tiene como trayectoria de contexto 
    28-Feb-2016 18:00:19.878 INFO [http-nio-8084-exec-10] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración C:\Users\axeli\AppData\Roaming\NetBeans\8.1\apache-tomcat-8.0.27.0_base\conf\Catalina\localhost\ROOT.xml
    28-Feb-2016 18:00:19.878 WARNING …
Run Code Online (Sandbox Code Playgroud)

jsf tomcat jsf-2

4
推荐指数
1
解决办法
3233
查看次数

标签 统计

jsf ×1

jsf-2 ×1

tomcat ×1