虽然现在都用idea了,但有个老项目还是用的eclipse。今天在添加toccat的时候遇到了这个问题
Cannot create a server using the selected type
如下图表示
就是红色打叉的地方不显示,上面蓝色地方显示 Cannot create a server using the selected type
怎么解决这个问题呢?
到该项目的wordspace目录下 /.metadata/.plugins/org.eclipse.core.runtime/.settings/中
删除 org.eclipse.wst.server.core.prefs 和 org.eclipse.jst.server.tomcat.core.prefs 文件
重启eclipse即可。