Deploy过程出错解决
生活随笔
收集整理的這篇文章主要介紹了
Deploy过程出错解决
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
eclipse+MyEclipse+tomcat下配置建立J2EE開發(fā)環(huán)境
在配置完后,點(diǎn)擊Deploy MyEclipse J2EE project to Server...時(shí)想要用tomcat運(yùn)行時(shí)會(huì)出現(xiàn)以下錯(cuò)誤的提示:
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默認(rèn)自帶的,新建一個(gè),指向自己安裝的JDK目錄
然后在window-->preferences-->MyEclipse-->Applications Servers-->Tomcat 5-->JDK,在下拉框里選擇剛剛新建的JDK名
在配置完后,點(diǎn)擊Deploy MyEclipse J2EE project to Server...時(shí)想要用tomcat運(yùn)行時(shí)會(huì)出現(xiàn)以下錯(cuò)誤的提示:
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默認(rèn)自帶的,新建一個(gè),指向自己安裝的JDK目錄
然后在window-->preferences-->MyEclipse-->Applications Servers-->Tomcat 5-->JDK,在下拉框里選擇剛剛新建的JDK名
轉(zhuǎn)載于:https://blog.51cto.com/maple/85909
新人創(chuàng)作打卡挑戰(zhàn)賽發(fā)博客就能抽獎(jiǎng)!定制產(chǎn)品紅包拿不停!總結(jié)
以上是生活随笔為你收集整理的Deploy过程出错解决的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 现在心情
- 下一篇: OSPF中的frame-relay(6)