项目通过MyEclipse 发布到 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 JDK name:
意思很明显,就是服务开启了,可是配置有问题
解决:windows==>preferences==>MyEclipse...==>Servers==>tomcat==>tomcat6(选择你的tomcat目录)的二级菜单==>jdk(选择你的 JDK目录)