Minor problems encountered by tomcat beginners-environment variable configuration

Solve the problem of tomcat startup startup.bat error.
At that time, only the environment variable CATALINA_HOME was configured, and then click startup.bat to flash back directly. After opening the command line, I saw such an error.
Insert picture description here
After checking online, I saw that many people also configured CATALINA_BASE. I tried it and it still didn't work.
Finally, I added TOMCAT_HOME and it finally worked. This is the same value as CATALINA_HOME
(Note: don't add it after the variable; and symbols like \)

Published 3 original articles · Likes0 · Visits 19

Guess you like

Origin blog.csdn.net/weixin_42653023/article/details/104963397