如何在Eclipse中从WebProject中删除Axis项目构面? [英] How to remove Axis project facets from WebProject in Eclipse?

查看:79
本文介绍了如何在Eclipse中从WebProject中删除Axis项目构面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Eclipse中有一个Web项目,我使用axis进行了一些操作,但是后来我改变了主意. 现在,如果我去Project-> Project Facets并尝试取消选择"Axis2 Web服务",它将告诉我无法卸载.

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.

如何卸载?

推荐答案

一个好方法是从版本控制中还原旧版本.或者,您至少可以查看版本控制,以了解添加构面后发生了什么变化.

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.

要手动删除构面,请查看文件.classpath.project并删除任何看起来与Axis相关的远程内容.然后从工作空间中删除项目(仅删除项目,而不删除 content ),然后再次导入.之后,很可能是Axis本质消失了.

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.

这篇关于如何在Eclipse中从WebProject中删除Axis项目构面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆