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