Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I upgrade the JSF API in GlassFish?

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 and other impl. How do I update and where do I download the jars?

like image 955
kinkajou Avatar asked Oct 09 '12 02:10

kinkajou


1 Answers

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.

like image 184
BalusC Avatar answered Nov 18 '22 22:11

BalusC