When downloading Mojarra libraries for JSF it is showing error "zip file is empty" in Eclipse

Arvind Katte picture Arvind Katte · Jul 1, 2017 · Viewed 22.2k times · Source

I'm working on JSF project, I'm trying to set up project facets in Eclipse, When I'm downloading Mojarra libraries for JSF2.2 it is giving error message. I'm using Eclipse Neon 2.

See the below image for more information.

Mojarra libraries

Error Message

Answer

Muhammad Siddique picture Muhammad Siddique · Sep 3, 2017

Update: Updated.

Adding Mojarra Manually When Eclipse Luna/NEON/Oxygen JSF Download Library Is Empty...

When I was setting up a fresh install of JavaEE on my laptop today, the JSF Download Library would not return any results to download. Some searching suggested that I had to change my proxy settings but since I was not behind a proxy,

Actually some sorts are saying temporarily / Website is offline that's why its not downloadable ...

If this problem is happening try out this

it would not help me. Lucky enough, JSF are just another bunch of jars that can be added to a user library.

You can download the JSF Scroll down here for newest versions of JSF jars...

Download JSF API JAR JSF API jar file

Download JSF IMPL JAR JSF IMPl jar file

Then simply; click the “Manage Libraries” icon on the JSF capabilities page click “New” and name your library

click “Add external jars” and browse to the jars you downloaded

Name your libraries that you can take back your jars files

When jars are added then use your jsf as it is...

Finally you are fully featured to the JSF Mojjara Library

Thanks...