环境:Windows + Eclipse Luna Service Release 2 (4.4.2) + Tomcat 8 + JDK 8
当我尝试使用 File -> New -> Other -> Server
将新服务器添加到 Eclipse 时
我在“新建服务器”对话框中选择“Tomcat v8.0 服务器”
,并添加了“服务器运行时环境”。但是有错误提示
" The currently selected server type does not support remote hosts".
我该如何处理这个错误?
谢谢大家!
最佳答案
我通过在 eclipse 中更改服务器运行时环境来解决,
首选项 => 服务器 => 运行时环境
然后选择您的 tomcat 类型。您可以删除服务器并添加新的服务器运行时环境或通过提供正确的 tomcat 安装路径来编辑现有服务器。然后就不给了
"The currently selected server type does not support remote hosts" error.
关于java - 无法将服务器(tomcat)添加到 Eclipse,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30568931/