3

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?

gdantimi
  • 378
  • 3
  • 9
  • 20

2 Answers2

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.

Aaron Digulla
  • 321,842
  • 108
  • 597
  • 820
1

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.

Community
  • 1
  • 1
J.Liu
  • 11
  • 2