The server location in eclipse is grayed and cannot be modified

Source: Internet
Author: User
Tags tomcat server

When you've written your Web project with Eclipse, you've also configured the server (TOMCAT6),

When the above deployment is complete, direct access to http://localhost:8080 discovery is

Unreachable, this is because, servers the configuration here, the project's deployment path is not under Tomcat's WebApps directory,

As modified: Double-click the contents of the red box below.

Look at the three boxes and choose the directory for the corresponding file deployment of Tomcat.

After you've changed the requirements above, restart Tomcat, reopen the browser to enter the address above, and you'll find the Tomcat welcome page.

The problem arises (problems that may occur):

The above three boxes cannot be modified by the problem: this is often related to your own projects that have been deployed but not previously set up in server location.

The procedure is as follows:

1. Remove all of the projects that you have deployed in your existing tomcate.

2. Delete the generated tomcate server at the same time,

3. Re-build the server, select the server version, set the following server name and server running environment, click Finish directly.

4. In the server will appear its just configured Tomcat server, then do not deploy the project immediately, but the server into the Settings page, double-click,

At this point, the above three options can not be selected (gray state) should now be optional. OK, done, the back of the need I said, how to deploy how to access, pro you understand.

The server location in eclipse is grayed and cannot be modified

Related Article

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.