February 14, 2015

Adding Mojarra manually when Eclipse Luna 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, 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 jars here (scroll down for newest versions): http://central.maven.org/maven2/com/sun/faces/jsf-api/ http://central.maven.org/maven2/com/sun/faces/jsf-impl/ 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 Have fun!