创设tomcat服务器时报Cannot create a server using the selected type

创建tomcat服务器时报Cannot create a server using the selected type



 使用eclipse创建tomcat6.0服务器时 却发现创建不了

如是显示:Cannot create a server using the selected type 提示信息。

如下图:


创设tomcat服务器时报Cannot create a server using the selected type

 

原因是因为你的tomcat的安装目录不存在或者迁移到其他地方。

 

所以,只需要在eclipse中的首选项->Server->重新改变tomcat的原有的目录。


 如下图:


创设tomcat服务器时报Cannot create a server using the selected type
 

 

点击Finish后,再去创建Tomcat项目,则可以创建成功了。

 


创设tomcat服务器时报Cannot create a server using the selected type