用Tomcat添加部署项目的时候报错:
the selected server is enabled,but is not configured properly.Deployment to it will not be permitted until the problem is corrected.Please navigate to the server preference pages and verify the field with the prompt:tomcat home directory
可能出错的原因:
检查你配置的Tomcat路径是否正确,部署的Tomcat路径与安装路径是否一致,
例如解压版的Tomcat如果你重新解压一份或者丢改了文件命就会导致这个错误,
按照下图提示步骤重新选择部署即可: