tomcat卸载失败:no service name specified

.卸载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 -ServiceName="<Tomcat7>"

猜你喜欢

转载自blog.csdn.net/jdnicky/article/details/90753067