在使用Myeclipse時,用Tomcat添加部署項目的時候報錯,或啟動tomcat報錯


the selected server is enabled,but is not configured properly.deployment to it will not be permitted until the problem is corrected.please navigate to the server preference pages and verify the field with the prompt:tomcat jdk name:

翻譯:選定的服務器已啟用,但是配置沒有正確的配置號.直到問題是正確解決才可以部署.請導航到服務器選項頁面和核查提示:Tomcat的JDK的名稱字段

A configuration error occurred during startup. Please verify the preference field with the prompt:Tomcat 6.x JDK name:

翻譯:在啟動過程中出現了一個配置錯誤。請驗證優先領域與提示:Tomcat 6.x JDK的名字:

 

 

錯誤原因1:tomcat路徑配置錯誤,重新配置正確的路徑,在MyEclipse工具欄中選擇windows==>preferences==>MyEclipse==>Application Servers==>tomcat6x (選擇你的 JDK目錄),有的則不用手動添加jdk路徑,點擊下來按鈕就可以直接添加jdk路徑名稱,然后確定。

                                                                

錯誤原因2:tomcat 6.x下有目錄JDK點開看到所選是否如紅圈內一樣,若不一樣則點開選擇此項即可

                                                         

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM