天天看点

在eclipse中安装tomcat服务器,报错" Cannot create a server using the selected type ".

原因:以前安装的tomcat目录改变

解决方法:Window->preferences->Server->Runtime Environment,改变tomcat的目录为你安装的目录,然后保存,这样就可以建立Tomcat server了。