Deploy過程出錯解決

eclipse+MyEclipse+tomcat下配置建立J2EE開發環境


在配置完後,點擊Deploy MyEclipse J2EE project to Server...時想要用tomcat運行時會出現以下錯誤的提示:
The selected server is enabled, but is not configured property, Deployment to it will not be permitted unitl the problem is corrected. Please navigate to the server prefence pages and verify the field with the prompt:Tomcat JDKname

解決的方法:
菜單window-->preferences-->Java-->installed jres 檢查一下jdk是指向什麼路徑,一般eclipse默認自帶的,新建一個,指向自己安裝的JDK目錄
然後在window-->preferences-->MyEclipse-->Applications Servers-->Tomcat 5-->JDK,在下拉框裏選擇剛剛新建的JDK名
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章