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.