在Eclipse中配置Tomcat时,出现Cannot create a server using the selected type错误

在eclipse中配置Tomcat时,出现Cannot create a server using the selected type错误

原因:Tomcat被删除或者是重新安装,并且安装目录改变了。

解决方法:在“Window->preferences->Server->Runtime Environment”,编辑Tomcat的目录为你新安装的目录,然后保存,这样就可以建立Tomcat server了。

posted @ 2016-11-27 23:05  不能差不多  阅读(481)  评论(0编辑  收藏  举报