你看一下 tomcat.bat里的内容,是不是有这个标签 startserver?如果没有加上吧,一般会有的,如果你没改过tomcat.bat文件。或是你误改了它?

解决方案 »

  1.   

    @echo off
    rem $Id: startup.bat,v 1.7 2000/03/31 19:40:02 craigmcc Exp $
    rem Startup batch file for tomcat servner.rem This batch file written and tested under Windows NT
    rem Improvements to this file are welcomeif not "%TOMCAT_HOME%" == "" goto startSET TOMCAT_HOME=.
    if exist %TOMCAT_HOME%\bin\tomcat.bat goto startSET TOMCAT_HOME=..
    if exist %TOMCAT_HOME%\bin\tomcat.bat goto startSET TOMCAT_HOME=
    echo Unable to determine the value of TOMCAT_HOME.
    goto eof:start
    call %TOMCAT_HOME%\bin\tomcat start %1 %2 %3 %4 %5 %6 %7 %8 %9:eof