jboss com.sun.faces.config.WebConfiguration cannot be cast to com.sun.faces.conf

The problem is causes by two versions of jsf-api and jsf-impl jars at runtime. The application included one version and the other version was coming from Jboss container.
解决方案,是去除你项目中的两个 JAR jsf-api.jar ,jsf-impl.jar

你可能感兴趣的:(jboss,JSF,sun)