Myeclipse下Web專案無法部署到tomcat伺服器解決方案
解決方案:
匯入專案重新生成的.mymetadata檔案
< xml version="1.0" encoding="UTF-8" >
<project-module type="WEB" name="你的專案名稱" id="myeclipse.1313136539892" j2ee-spec="1.4" archive="你的專案名稱.war">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>
其中project-module少了一個屬性:context-root="/你的專案名稱",把這個屬性加入之後,重啟Myeclipse,問題解決。