CATALINA_HOME environmental variable is not defined correctly

前端 未结 9 1025
野的像风
野的像风 2020-12-13 04:25

I installed Apache Tomcat 6.0 to a C:/Program Files folder and I set the environmental variables JAVA_HOME and CATALINA_HOME, but when

相关标签:
9条回答
  • 2020-12-13 04:50

    Set the CATALINA_HOME : C:\apache-tomcat-9.0.27 The path of the Tomcat directory (no need to add "bin") CLASSPATH : C:\apache-tomcat-9.0.27\lib

    For Windows 10 newer versions, remove the ";" and update each entry to the PATH variable

    %PATH%;
    %JAVA_HOME%\bin;
    %CATALINA_HOME%\bin;
    %CLASSPATH%\servlet-api.jar;
    
    0 讨论(0)
  • 2020-12-13 04:51

    In environment variables define CATALINA_HOME as a new variable and the value for the variable value assign to >>> C:\apache\apache-tomcat-7.0.40

    in the path append this %CATALINA_HOME%\bin to get the command "catalina start" to work

    0 讨论(0)
  • 2020-12-13 04:59

    Make sure you cd your directory on the cmd window to the path where the Tomcat is before you you call the service.bat file

    0 讨论(0)
提交回复
热议问题