Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Several problems in the flash of tomcat startup

Shulou Source: shulou.com Published: 2022-06-01 04:35:51 10月05日 Update

First, the environment variables are not configured properly.

JAVA_HOME=C:\ Program Files\ Java\ jdk1.7.0_79

JRE_HOME=C:\ Program Files\ Java\ jre7

CATALINA_BASE=C:\ tomcat6.0

CATALINA_HOME=C:\ tomcat6.0

Second, bootstrap.jar cannot be loaded.

Catalina.bat 's

If "% OS%" = = "Windows_NT" setlocal

Add at the bottom of the line

Java-jar-Duser.dir= "C:\ tomcat6.0"C:\ tomcat6.0\ bin\ bootstrap.jar" start

This sentence

Attached, startup.bat,catalina.bat,setclasspath.bat is required when tomcat starts.

Tags: Variables environment this sentence configuration flash problem Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn macOS MySQL Xiaomi Shulou Information