当下载用于JSF的Mojarra库时,它显示错误“ zip文件为空”。在Eclipse中 [英] When downloading Mojarra libraries for JSF it is showing error "zip file is empty" in Eclipse

查看:176
本文介绍了当下载用于JSF的Mojarra库时,它显示错误“ zip文件为空”。在Eclipse中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究JSF项目,正在尝试在Eclipse中设置项目构面。当我下载JSF2.2的Mojarra库时,它会显示错误消息。我正在使用Eclipse Neon 2。



有关更多信息,请参见下图。





解决方案

当Eclipse Luna / NEON / Oxygen JSF下载库为空时手动添加Mojarra ...



当我设置一个今天,在我的笔记本电脑上全新安装JavaEE时,JSF下载库不会返回任何要下载的结果。一些搜索建议我必须更改代理设置,但是由于我不在代理之后,



实际上有些说法是暂时的/网站处于离线状态,这就是为什么它无法下载的原因...





不帮我。幸运的是,JSF只是可以添加到用户库中的另一堆jar。



您可以在此处下载JSF Scroll,以获取最新版本的JSF jar。 。



下载JSF API JAR





最后,您将完全了解JSF Mojjara图书馆



谢谢...


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.

解决方案

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

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

Finally you are fully featured to the JSF Mojjara Library

Thanks...

这篇关于当下载用于JSF的Mojarra库时,它显示错误“ zip文件为空”。在Eclipse中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆