Eclipse Configuration Tomcat:cannot Create a server using the selected type

Source: Internet
Author: User
Tags tomcat server
Introduction: Eclipse Configures Tomcat process


Open Eclipse and click on the preferences configuration properties in Windows in the menu bar

Then select the runtime environments in the server and add the desired tomcat version as follows:





So that Tomcat is configured, but it may still be unable to start the Tomcat server, then sad to go with:


Also, select Windows, but at this point choose Show View--->other ...



Then select server:



Then in the Server, right-click in the blank, select New--->server



Next, add Tomcat:



At this point, the problem appears again, cannot select server name, cannot next, and error: Cannot create a server using the selected type

This is the problem I encountered, but also the focus of this article


Workaround:

1. Close Eclipse

2. Open the location of the workspace. {Workspace-directory}/.metadata/.plugins/org.eclipse.core.runtime/.settings Delete the following files
Org.eclipse.wst.server.core.prefs Org.eclipse.jst.server.tomcat.core.prefs

3. Restart Eclipse

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.