缺少cxf jar:请选择cxf主目录 [英] Missing cxf jar: Please select the cxf home directory

查看:120
本文介绍了缺少cxf jar:请选择cxf主目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习在Eclipse Luna中创建SOAP Web服务。我下载了二进制版本CXF并将其解压缩。现在,当我尝试添加CXF运行时时,Eclipse给了我上面的错误。我检查了提取的文件夹,但没有CXF jar文件。我用Google搜索了它,但找不到它。

I am learning creating a SOAP web service in Eclipse Luna. I downloaded the binary version CXF and extracted it. Now, Eclipse gives me the above error when I try to add the CXF runtime. I checked the extracted folder but there is no CXF jar file as such. I Googled it but could not find it.

我是否只需要下载与 LUNA 兼容的特定版本。
此外,我还能够安装3个Eclipse插件中的2个(Checkstyle,PMD)。我没有得到第3个(Subversion插件)。

Do I have to download only a specific version that would be compatible with LUNA. Moreover, I was also able to install 2 out of 3 Eclipse plugins (Checkstyle, PMD). I did not get the 3rd one ( Subversion plugin).

推荐答案

在Eclipse上,转到Windows菜单->首选项。搜索 CXF ,您会看到 CVF 2.x首选项。在 CXF运行时选项卡上,单击添加按钮并搜索CXF文件夹的安装(这应通过解压缩在下载页)。选择CXF库的 root 文件夹,然后让Eclipse查找版本和类型。完成后,点击完成

On Eclipse, Go to Windows menu --> Preferences. Search for CXF and you'll see a CVF 2.x Preferences. On CXF Runtime tab, click the add button and search for the installation of the CXF folder (this should come by unzipping the latest CXF release found on the download page). Select the root folder of the CXF library and let Eclipse find the version and type. Once done, click Finish.

这篇关于缺少cxf jar:请选择cxf主目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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