Current location - Quotes Website - Team slogan - [tomcat startup failure] The tomcat v8.0 server on the local host of the server failed to start.
[tomcat startup failure] The tomcat v8.0 server on the local host of the server failed to start.
Possible situation

The commons-beanutils.jar or commons-digester.jar in the lib package in struts is added to the common\lib in the installation directory. Solution: Delete it! If you need to use it in other paths, then configure the environment variable! Error environment: Tomcat 4.31struts1.2.7.

The default port of tomcat is 8080, which may have been occupied by others. Solution: change the broken slogan in server.xml in the conf folder under the installation path!

There is something wrong with the environment variable. Check them carefully.

If there are two versions of tomcat on this machine, you cannot match the two versions at the same time when configuring the environment variable CATALINA_HOME. If it is included, it may cause the startup dos interface to appear when tomcat starts, but there is no prompt and no initialization file at startup. Solution: modify CATALINA_HOME and configure which tomcat to use.

Maybe the version of tomcat doesn't match the version of jdk. You can try different versions of jdk. For example, Tomcat 4.31&; This problem occurred in jdk 1.4. 1, and it can be started after replacing it with jdk 1.4.2.

c:\ Program Files \ Apache Group \ Tomcat 4. 1 \ bin & gt; Catalina run // Check the error message Count = 6092, Total = 9352 Error in initializing VM//Prompt Error in initializing VM Java/lang/noclassDefinderror: Java/lang/Object Solution: Just restart the machine!

Tomcat can't start. In addition to the above six possible situations, when building a web project in eclipse, there are often startup failures or failures. Possible reasons:

Tomcat settings bound in eclipse are incorrect, or the version selected in eclipse does not match the version installed on this machine. Solution: Set tomcat correctly in eclipse. Before resetting, delete the previously set one, and then rebind a tomcat step by step.

When you start tomcat in a web project, you may have a port to use, or you may be prompted that another program is in use. At this time, it may be because you have a tomcat running in the background, or you have not turned off tomcat before. Solution: generally enter the installation directory of tomcat, enter the bin directory, and execute the shutdown command to eliminate it. Note that in unix environment, the terminal should enter the bin directory of tomcat installation directory to execute shutdown.sh, and directly execute the shutdown batch file in windows environment.

reference data

A faint fragrance remains the same-Analysis on the failure of -tomcat startup-Reprinted 444095567.5 1 CTO[[ reference time 20 18- 1-20]