新建系统变量-变量名:catalina_home 变量值:D:\java\Tomcat (“tomcat安装目录”,注意:tomcat目录,不加bin) 找到Path变量-编辑-将D:\java\Tomcat*bin*