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选中就可以了。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章