jsf 2.2 (final) not works on Jboss 7.1.1

穿精又带淫゛_ 提交于 2019-12-01 12:46:26

may be I'm late but for other peoples who fall into the same problem, I found a solution here : https://community.jboss.org/thread/203257?start=0&tstart=0

Add to the module.xml of your JSF API module a depency to the JSF IMPL module by adding this line :

<module name="com.sun.jsf-impl"/>

Some changes may be required when multiple JSF versions exists on the AS. Tested with JBoss 7.1 and JSF 2.2.0m12

EDIT : I didn't saw "(final)" in your subject, with the final JSF 2.2 version I ran into another probleme with NoContextActiveException for FlowDefinition :(

You are right, JSF 2.2 seems only to be supported starting from Wildfly / AS 8. I found a thread at JBoss community with installation instructions, followed by the information that it makes no sense to install with AS 7.1.1.

The thread referenced in the other answer (https://community.jboss.org/thread/203257) has been updated. I've tried it on my AS 7.1.1 and it works

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!