Deploy过程出错解决
生活随笔
收集整理的這篇文章主要介紹了
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名
在配置完后,點擊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名
轉載于:https://blog.51cto.com/maple/85909
新人創作打卡挑戰賽發博客就能抽獎!定制產品紅包拿不停!總結
以上是生活随笔為你收集整理的Deploy过程出错解决的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 现在心情
- 下一篇: OSPF中的frame-relay(6)