JSF异常部署到FireFly,标记名为inputFile null handler-class

use*_*794 6 eclipse jsf

我正在尝试学习JSF,并且在部署任何项目时遇到问题.我安装了以下内容:

Eclipse Kepler发布2个
用于eclipse的JBoss工具
WildFly 8
Maven 3.2.1
Java JDK 8
mojarra 2.2.6

我在创建和下载示例项目的JSF项目中遇到此问题.当我在eclipse中将项目部署到WildFly时,它抛出异常:

JBAS014777:   Services which failed to start: service jboss.undertow.deployment.default-server.default-host./Test: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./Test: Failed to start service
Run Code Online (Sandbox Code Playgroud)

WildFly部署文件夹中的Test.war.failed文件具有以下内容:

"{\"JBAS014671: Failed services\" => {\"jboss.undertow.deployment.default-server.default-host./Test\" => \"org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./Test: Failed to start service
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: The tag named inputFile from namespace http://xmlns.jcp.org/jsf/html has a null handler-class defined
Caused by: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: The tag named inputFile from namespace http://xmlns.jcp.org/jsf/html has a null handler-class defined
Caused by: com.sun.faces.config.ConfigurationException: The tag named inputFile from namespace http://xmlns.jcp.org/jsf/html has a null handler-class defined\"}}"
Run Code Online (Sandbox Code Playgroud)

此外,我不知道这是否相关,但是当我在eclipse中打开faces-config.xml文件时,它不会显示包含许多Web示例所显示的所有选项卡的页面.它只有图表,树和源的选项卡.这是因为示例是JSF 2.0,我使用的是JSF 2.2.6吗?

chk*_*kal 21

请从依赖项中删除Mojarra.WildFly已经附带了一个JSF实现,如果你在你的应用程序中部署一个,你会遇到这样的问题.