myeclipse中启动tomcat报错:A configuration error occurred during statup.Please verity the preference field

myeclipse中启动tomcat报错:A configuration error occurred during statup.Please verity the preference field with the prompt:Tomcat 7.x JDK name:

myeclipse中启动tomcat报错:A configuration error occurred during statup.Please verity the preference field

解决方法:

1.通过分析,发现jdk配置错误,如图:

(window-->preference-->Java-->Installed JRES)

myeclipse中启动tomcat报错:A configuration error occurred during statup.Please verity the preference field

2.修改jdk路径为如图所示(路径应包含jar和bin):

myeclipse中启动tomcat报错:A configuration error occurred during statup.Please verity the preference field

3.重新部署comcat,不在报错。