Please verify the preference field with the prompt:Tomcat7.0 JDK name

在MyEclipse10.0中启动Tomcat时候报错: 
A configuration error occurred during startup.   
Please verify the preference field with the prompt:Tomcat7.0 JDK name;   


MyEclipse的默认JDK都配置了,照样报错。

查阅之后其实是Tomcat本身的jdk没配好。

解决办法:在MyEclipse点击Window-〉Preferences搜索Tomcat,找到Tomcat相应版本,在它的子项里找到JDK,点击,在右侧上方,将你MyEclipse配置的JDK选中就可以了。

你可能感兴趣的:(Please verify the preference field with the prompt:Tomcat7.0 JDK name)