如何在 Eclipse 项目资源管理器中删除 JAX-WS Web 服务节点?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3777590/
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
How to remove JAX-WS Web Services node in Eclipse Project Explorer?
提问by boes
For development I use Eclipse Helios. In one of my projects in the project explorer a new node showed up. It is called JAX-WS Web Services. I do NOT use webservices in my project. The node has two sub nodes, Service Endpoint Interface and Web Services. Both of them are empty. I have some other project open too. They do not show this node.
对于开发,我使用 Eclipse Helios。在我的项目资源管理器中的一个项目中,出现了一个新节点。它称为 JAX-WS Web 服务。我不在我的项目中使用网络服务。该节点有两个子节点,服务端点接口和 Web 服务。两者都是空的。我也打开了一些其他项目。它们不显示此节点。
How can I remove this unwanted JAX-WS Web Services node from my project?
如何从我的项目中删除这个不需要的 JAX-WS Web 服务节点?
回答by worpet
If you don't care about JAX-WS, you can hide it from the Project Explorer. To do this, click the little down arrow button (see image below) and, from the popup menu, choose "Customize View...". On the Customize View dialog, goto the "Content" tab. On the Content tab, uncheck "JAX-WS Web Services Elements".
如果您不关心 JAX-WS,您可以从 Project Explorer 中隐藏它。为此,请单击向下的小箭头按钮(见下图),然后从弹出菜单中选择“自定义视图...”。在“自定义视图”对话框中,转到“内容”选项卡。在内容选项卡上,取消选中“JAX-WS Web 服务元素”。
回答by Fabrice TIERCELIN
You can use the Package Explorer view instead of the Project Explorer view: those nodes don't appear.
您可以使用 Package Explorer 视图而不是 Project Explorer 视图:这些节点不会出现。
回答by Yu Chai
It seemed that if you create your dynamic web project with eclipse, you can not remove JAX-WS, unless you create your project in other ways.
似乎如果您使用 Eclipse 创建动态 Web 项目,则无法删除 JAX-WS,除非您以其他方式创建项目。