How to remove JAX-WS Web Services node in Eclipse

2019-04-04 09:26发布

问题:

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.

How can I remove this unwanted JAX-WS Web Services node from my project?

回答1:

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



回答2:

You can use the Package Explorer view instead of the Project Explorer view: those nodes don't appear.



回答3:

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.