eclipse 缺少 cxf jar:请选择 cxf 主目录
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25118750/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Missing cxf jar: Please select the cxf home directory
提问by Ron
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.
我正在学习在 Eclipse Luna 中创建 SOAP Web 服务。我下载了二进制版本的 CXF 并解压了它。现在,当我尝试添加 CXF 运行时,eclipse 给了我上述错误。我检查了提取的文件夹,但没有 CXF jar 文件。我用谷歌搜索但找不到它。
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 ). Your help is really appreciated.
我是否必须只下载与LUNA兼容的特定版本。此外,我还能够安装 3 个 eclipse 插件中的 2 个(Checkstyle、PMD)。我没有得到第三个(Subversion 插件)。非常感谢您的帮助。
Best Regards, Ron
最好的问候,罗恩
回答by Buhake Sindi
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 downloadpage). Select the rootfolder of the CXF library and let Eclipse find the version and type. Once done, click Finish
.
在 Eclipse 上,转到 Windows 菜单 --> 首选项。搜索CXF
,你会看到一个CVF 2.x Preferences
. 在CXF Runtime
选项卡上,单击添加按钮并搜索 CXF 文件夹的安装(这应该通过解压缩在下载页面上找到的最新 CXF 版本来实现)。选择CXF 库的根文件夹,让 Eclipse 找到版本和类型。完成后,单击Finish
。
I hope this helps.
我希望这有帮助。