About configuring Tomcat for the first time in MyEclipse

Source: Internet
Author: User

Delayed for a long time, recently began to formally enter the JAVAWEB study.

First, it is to write the first HelloWorld with a myeclipse.

Here, you can use MyEclipse's own tomcat or use your own to download Tomcat.

1. Tomcat with its own

-Follow the steps to create a program not much to say.

-In the console column there is a server, you will see "MyEclipse Tomcat", then right-"run server,

-then you can use the MyEclipse embedded browser to access your own Web page index.jsp.

2, the use of their own download,

-Create a program

-window-"preference-" then search for Tomcat,

-Select your Tomcat version, select the root directory

-and select "Ennable"

-Start the service again from the console column.

3. Here is a record of the problems I have encountered:

-Start my Tomcat is 8.0, and myeclipse10 up to 7x, anyway I was unable to configure up, just under the tomcat7.x version, and then succeeded.

-but, at first I came down, because I took MyEclipse's tomcat to the disable, but whenever I started Tomcat, I always gave an error, always started first, then shut it down immediately.

-Started surfing the internet, said the problem of environmental variables, but I looked at the environment variables are not wrong,

-Later, from the Internet to find the correct reason: port occupancy, I opened myeclipse self-brought Tomcat, sure enough, although I disable, but still started.

About configuring Tomcat for the first time in MyEclipse

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.