How do I upgrade the JSF API in GlassFish?

后端 未结 2 1174
[愿得一人]
[愿得一人] 2020-12-18 04:39

I downloaded binary which has javax.faces-2.1.13 as the latest binary release. I want to upgrade my GlassFish JSF library but it has jsf-api-jar an

相关标签:
2条回答
  • 2020-12-18 04:55

    Just replace both jsf-api.jar and jsf-impl.jar in the Glassfish /modules folder by the single javax.faces.jar file.

    Since Mojarra 2.1.6 the build system has been changed to comply Java EE Maven rules, see also issue 2028. This resulted in the API and impl being merged into a single JAR file.

    0 讨论(0)
  • 2020-12-18 04:57

    if you having some issues after replacing faces files in glassfish/modules folder, like non-compatibility of you framework version with jsf 2.2,2.3 and etc (for example "icefaces 4.1.1 error 200 during update: javax.faces.viewstate not found") or some unexpected behaviour - dont forget to clean glassfish/domains/somedomain/osgi-cache

    0 讨论(0)
提交回复
热议问题