Tomcat won't start.

Source: Internet
Author: User

Today, I got a project that I wanted to run on my computer, and when I deployed it on Tomcat, I found that Tomcat was not going to start, and I thought for a while that the relevant jar of Tomcat was not imported. So, Properties->java buiild path->libraies->add library-> Server runtime will import tomcat in, if no Tomcat is found That requires configuring a server Runtime environment. Configuration in Windows---preferences->server->runtime environment, add to find the Tomcat path.

When running, found still error. Then I directly to the Tomcat run Start.bat found a flash and can not start, this time I detected the configuration of Java_home, found that there is no problem, before the time of operation is no problem, has not changed, so this is right. I searched the internet for a long time, all kinds of methods have tried, and finally still no fruit. This time I see the environment variable inadvertently found that there is a configuration item in the original Tomcat path, holding the idea of a try, put this configuration to delete, and then start again found that there is no problem, this time only to find that the original is the reason. This configuration is:catalina_home D:\Temporary files\apache-tomcat-6.0.30. This problem is really very hidden, and here is written to hope that someone will encounter such a problem to know is the reason.

Tomcat won't start.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.