Posted on 2009-05-13 14:16
Gavin.lee 閱讀(516)
評論(0) 編輯 收藏 所屬分類:
經驗&常識
以前用過那么長時間的TOMCAT都沒出現過問題,現在竟然出現問題,郁悶了一會,想一想,沒輒,google一下。讓我想起來,前段時間配RESIN的時候也出現過這樣的問題。現貼下來:
錯誤:The selected server is enabled ,but is not configured properly,Deployment to ti will not be permitted unitl the problem is corrected. please navigate to the server proference pages and verify the field with the prompt; Tomcat JDK name
原因:MyEclipse下默認的Tomcat/Resin的JDK跟本機安裝的不一致導致
解決辦法:Window => properties => MyEclipse => Application Services => Tomcat/Resin => JDK.
修改默認的 Tomcat/Resin JDK name 為本機安裝的jdk。
改完之后,搞定, O(∩_∩)O~