I checked it online Many problems are caused by Tomcat and JDK versions Then when looking at the Tomcat version That is, run version.bat under the bin folder of Tomcat Error reporting the JRE_HOME environment variable is not defined correctly
It’s hard Check the problem again Added JRE_The home environment variable is still not easy to use
Then I saw an article saying that there is a setclasspath.bat directly under the bin folder of Tomcat
Java can be directly set here_Home and JRE_HOME
Because I thought it was the wrong environment variable
Open it and find that Java is set in it_Home and JRE_Commands for home
Then JRE_Home is my previous JRE address
I remember changing JRE’s address a few days ago There is no change here
Then everything will be all right
Similar Posts:
- The CATALINA_HOME environment variable is not defined correctly
- About javac error bash: Java: command not found solution
- Sudo starts Tomcat and reports an error. There is no Java environment
- [Solved] NB: JAVA_HOME should point to a JDK not a JRE
- [Solved] Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8
- SDK manager cannot open the solution (Android)
- CentOS Error -bash:systemctl:command not found
- [791] Maven configuration error and the Java_ The solution of home environment variable is not defined correctly
- Linux Install Tomcat Error: service tomcat does not support chkconfig
- [Java] deepin solves the problem of picked up in JDK_JAVA_Options:-AWT. Usesystemaafontsettings=gasp