gpt4 book ai didi

java - 无法将服务器(tomcat)添加到 Eclipse

转载 作者:行者123 更新时间:2023-11-28 21:54:51 24 4
gpt4 key购买 nike

环境: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 中更改服务器运行时环境来解决,
首选项 => 服务器 => 运行时环境

enter image description here

然后选择您的 tomcat 类型。您可以删除服务器并添加新的服务器运行时环境或通过提供正确的 tomcat 安装路径来编辑现有服务器。然后就不给了

"The currently selected server type does not support remote hosts" error.

enter image description here

关于java - 无法将服务器(tomcat)添加到 Eclipse,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30568931/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com