導入一個Eclipse項目後,run的時候,出現一個錯誤信息對話框。內容:The selection is not within a valid module。。
原因:
因爲導入的項目名和配置中的項目名不一致,把項目名稱和配置項目名改成一致就可以了。
解決方法:
項目右鍵→properties→Web Project Settings→修改context root: