Eclipse New server cannot create a server using the selected type online there are two ways, in fact the same principle

Source: Internet
Author: User
Tags tomcat server

Eclipse New server cannot create a server using the selected type online there are two ways, in fact the same principle



The first argument:


And really found a solution, as follows:

1. Exit Eclipse

2. To [Project catalogue]/.metadata/.plugins/org.eclipse.core.runtime

3. Remove the two files of Org.eclipse.wst.server.core.prefs and Org.eclipse.jst.server.tomcat.core.prefs

4. Restart Eclipse


The second argument:


When you configure Tomcat in Eclipse, the error "Cannot create a server using the selected type" appears.

Cause: Tomcat is reinstalled, and the installation directory has changed.

Solution: In "window->preferences->server->runtime Environment", edit the Tomcat directory for your newly installed directory, and then save so that you can build Tomcat Server.


In fact, the second is the positive solution, after the change,/.metadata/.plugins/org.eclipse.core.runtime files will be automatically changed. To put it bluntly, the directory that points to is not correct, is so simple.

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.