.卸载tomcat程序
双击运行安装路径下的 Uninstall.exe。
报错:
No service name specified to uninstall.
This will be provided automatically if you uninstakk via add/romove programs oor the shortcut on tthe Start menu.
Alternatively,call the installer from the command line with -ServiceName"<name of service>".
在cmd跳转到tomcat的文件夹中,然后运行如下:

Uninstall.exe -ServiceName="<Tomcat7>"
要是还不行,删除不干净,那么就在管理员得到权限下运行CMD(一定要管理员权限,否则有可能出错)
sc delete 服务名称 (记住是服务器名称)


本文详细介绍了如何通过Uninstall.exe卸载Tomcat程序的方法,包括解决Noservicenamespecifiedtouninstall错误的步骤,以及如何使用scdelete命令在管理员权限下彻底清除残留的服务。
343

被折叠的 条评论
为什么被折叠?



