错误描述:
The selected server is enable,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 JDK name.
错误原因:
Tomcat配置JDK错误。
解决方案:
菜单栏中选择“窗口(window)”--“首选项...(preference)”
“MyEclipse”--“Application Servers”--“Tomcat”--“Tomcat 6.x”
将Tomcat Server设置为“Enable”,并将“Tomcat Home Directory”设置为Tomcat 5.5.9的安装目录,其他目录选项将会自动生成
菜单栏中选择“窗口(window)”--“首选项...(preference)”
“MyEclipse”--“Application Servers”--“Tomcat”--“Tomcat 6.x”--JDK然后选择ADD,选择安装JDK的路径。也就是配置环境变量时的JDK路径