http://blog.javawind.net/disp-52-3.shtml
Publishing failed
Removing obsolete files from server...
Could not clean server of obsolete files: XML document structures must start and end within the same entity.
XML document structures must start and end within the same entity.
Could not publish server configuration: XML document structures must start and end within the same entity..
XML document structures must start and end within the same entity.
準備做論壇的Rss,撰寫輸出rss xml 的jsp文件後,無法啓動 Tomcat 調試運行,解決方法探索ing..
按照錯誤信息,其字面意思是叫我移除廢棄或者不合法的文件,我檢查了很多遍,都沒有發現有什麼文件不該存在,xml文件格式也都正確,Eclipse 檢驗整個項目沒有報錯呀。就是無法啓動Servers下的Tomcat 6.0,而直接通過Monitor Tomcat卻能正常啓動 Tomcat 和運行項目,真是鬱悶至極!
一直都沒有發現主要是什麼原因~
然後把 Eclipse 的項目工程重新導入,甚至刪除重建都無法解決問題
最後 把Eclipse中Servers 的 Tomcat 刪除,然後重新註冊一下 就可以了