Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
919 views
in Technique[技术] by (71.8m points)

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

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...