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

时间:2021-08-19 14:21:43

在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了。

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