Posted on 2010-12-14 15:00
Gavin.lee 閱讀(1097)
評論(0) 編輯 收藏 所屬分類:
經驗&常識
摘自:http://hi.baidu.com/sclbq/blog/item/ea5068f66f96a32a730eec26.html/cmtid/0138b012db71c10c5baf5360
使用MyEclipse的Tomcat的時候出現下面的問題:
a configuration error occurred during startup.
please verify the preference field with the prompt:Tomcat JDK name;
環境變量也設了,怎么還是不行?之前單獨啟動tomcat都可以,求高手指點!!!
解決辦法:在Eclipse的菜單找到Window -〉Preferences 點擊后在彈出窗口的左半部分找到Tomcat,然后在它的子項里找到JVMSetting,點擊它,然后在右邊的詳細內容里吧JRE這個下拉菜單里選上你的JDK版本。OK了。
請關注@我的新浪微博