在C:\tomcat\bin\catalina.bat中增加,实现对WAP_HOME的定义 if not "%WAP_HOME%" == "" goto home set WAP_HOME=C:\tomcat\webapps :home