1. 程式人生 > >Target runtime Apache Tomcat v7.0 is not defined 錯誤解決

Target runtime Apache Tomcat v7.0 is not defined 錯誤解決

匯入從git上下載的web專案,匯入到eclipse中,解決jar包一系列問題後,還有Target runtime Apache Tomcat v7.0 is not defined.這麼一個錯誤,想是同事把本地IDE的配置檔案上傳到了伺服器,果然,在專案的.settings/org.eclipse.wst.common.project.facet.core.xml下發現了這個配置,直接刪掉配置tomcat7的那行語句,儲存,問題解決

注意,想看到.settings目錄 需要使用eclipse的Navigator檢視。