Eclipse Tomcat7 Server Doesnt support Remote Host

前端 未结 8 665
予麋鹿
予麋鹿 2021-01-07 22:18

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 no

8条回答
  •  甜味超标
    2021-01-07 22:44

    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.

提交回复
热议问题