今天在安装tomcat时提示 Failed to install Tomcat7 service了,花了大半天的时间找到了原因,下面分享给大家,希望对各位有所帮助。
应该是你卸载时直接删除目录导致的.
Failed to install Tomcat7 service Check your settings and permissions Ignore and continue anyway (not recommended)?
Alt+R(开始->运行) services.msc
查看Apache Tomcat 7.0 Tomcat7对应的服务名
然后以管理员身份运行命令提示符(cmd),执行
sc delete Tomcat7 命令