How to remove Axis project facets from WebProject in Eclipse?

前提是你 提交于 2020-06-27 15:47:06

问题


I have a web project in eclipse, I used axis for some operation but then I changed my mind. Now if I go to Project->Project Facets and try to unselect "Axis2 web service" it tells me that cannot be uninstalled.

How can I uninstall it?


回答1:


A good way would be to restore an old version from version control. Or you could at least look into version control to see what adding the facet changed.

If you don't have version control, right now would be a good time to start with it. Because if you have to remove the facet manually, chances are that you'll break something.

To remove the facet manually, look into the file .classpath and .project and remove anything that remotely looks like it's related to Axis. Then delete the project from the workspace (only the project, not the content) and import it again. Afterwards, chances are that the Axis nature is gone.

If you made a mistake during this process, you can use version control to undo it.




回答2:


this may help you Eclipse irreversible Dynamic Web Module 4.0 selection; Tomcat 9 doesn't support it

Edit the file org.eclipse.wst.common.project.facet.core.xml in the project's .settings directory.



来源:https://stackoverflow.com/questions/16413649/how-to-remove-axis-project-facets-from-webproject-in-eclipse

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!