Eclipse - 添加服务器 - 下一步按钮在我选择特定的Tomcat(例如tomcat8)时被禁用 [英] Eclipse - Add Server - Next Button is disabled when I select a specific Tomcat (e.g tomcat8)

查看:190
本文介绍了Eclipse - 添加服务器 - 下一步按钮在我选择特定的Tomcat(例如tomcat8)时被禁用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打开服务器视图,右键单击并转到新 - >服务器菜单。

I open Servers view, right click and go to new->server menu.

当我选择Tomcat 6或Tomcat 7时,下一个按钮的效果非常好>当我选择Tomcat 8时,下一个按钮是灰色的。

When I select Tomcat 6 or Tomcat 7 the next button works well however when I select Tomcat 8 the next button is greyed out.

在这种情况下,如何添加tomcat 8?

How can I add a tomcat 8 in this case?

推荐答案

网络上有一些资源关于这个问题,但没有回答。

There are a few resource on the web about this problem but no answer on SO.

如果你从来没有添加一个tomcat8到eclipse,就没有问题,就像tomcat7或tomcat6一样。但是有一个关于tomcat8的设置,这是错误的。在该菜单中,没有选择重新配置设置。

If you were never add a tomcat8 to eclipse there would be no problem just like tomcat7 or tomcat6. But there is a setting about tomcat8 and that is wrong. In that menu there is no option to reconfigure settings.

只需转到窗口 - >首选项 - >服务器 - >运行时环境,然后单击删除或编辑旧的错误设置。那么你也可以添加tomcat8!

Just go to Window->Preferences->Server->Runtime Environments and Remove or Edit the old, wrong settings. Then you will be able to add tomcat8 too!

参考: http://www.codejava.net/servers/tomcat/how-to-add-tomcat-server-in-eclipse-ide

这篇关于Eclipse - 添加服务器 - 下一步按钮在我选择特定的Tomcat(例如tomcat8)时被禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆