My Problem is: When I try to add my Tomcat7 to Eclipse EE as a server, I get an error message that says:
"The currently selected server type does not support remote hosts"
Does anyone know how to solve this problem? Or how to enable remote hosts in Tomcat?
The Tomcat support in Eclipse is meant for running Tomcat locally on your own machine. That's necessary because Eclipse deploys web modules to Tomcat by copying them into a folder in the Tomcat installation. It can't deploy things to a remote Tomcat server because it can't copy files into a folder on a different computer.
Typically you'd run Tomcat on your own computer for development, and then (manually) deploy your application to a remote server when you want to make it available to the rest of the world.
i also faced this issue .my case is "i already have created tomcat server and my tomcat server(8) is installation location is
"c:/xyz/apache-tomcat-8.0.28"
then i changed my tomcat server(8) location to another place `
"c:/abc/apache-tomcat-8.0.28"
`after that when i try to create new tomcat server 8.then it showing this error i solved by changing server runtime Environments in eclipse
then select your tomcat type .you can remove the server and add new server runtime Environment or edit existing one by giving correct tomcat installation path.then it won't give "The currently selected server type does not support remote hosts"
error.
When you add Tomcat to Eclipse as a server runtime, don't forget to check "Create a new local server".
While defining new Server in eclipse
In server host name box use localhost instead of cloud.
for me I had renamed the tomcat folder after installing and was getting this error message with STS and Tomcat 6. See bobthemagicman's answer here: Eclipse Juno Tomcat 6 Remote Host Not Supported
Try to delete the temp file in your workspace. ...workspace\ .metadata.plugins\org.eclipse.wst.server.core\tmp-data
then make a new server with a new server runtime environment.
Just change Server's Host Name to LOCALHOST
See here

来源:https://stackoverflow.com/questions/9444893/eclipse-tomcat7-server-doesnt-support-remote-host