将tomcat创建为服务 1、安装 找到tomcat里bin目录下的service.bat,在bin目录下打开cmd。 运行:service.bat install命令即可。 然后在服务中设置为开机自启。 2、卸载 运行:service.bat remove 就算这个世道烂成一堆粪坑,那也不是你吃屎的理由