myeclipse複製一個web項目部署之後不能訪問

右鍵->Properties->MyEclipse->Project Facets->Web,將Web Context-root中的內容,修改爲新的名字。


如果已經報錯了先從項目部署中去掉,修改後在部署進去


Eclipse裏啓動tomcat報錯:Resource is out of sync with the file system:

 

這是在eclipse外部對文件進行了修改造成不同步的問題

有兩種解決方法:
1)手動刷新。即在eclipse的工程目錄中,右鍵refresh(或者按下F5)。
2)配置eclipse的選項:
    a)eclipse啓動時,刷新workspace,即勾選:window—>preferences—>general—>startup and shutdown—>refresh workspace on startup;
    b)window—>preferences—>general—>workspace中:勾選選項:refresh using native hooks or polling和refresh on access



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章