1. 程式人生 > >eclipse Failed to create the part's controls 解決方法

eclipse Failed to create the part's controls 解決方法

剛從svn check out 的專案,檢視layout檔案的時候出現如下錯誤:


(說明:因為問題解決了,所以圖片來源: http://www.rritw.com/a/bianchengyuyan/C__/20140416/450374.html)

解決方法呢:http://www.rritw.com/a/bianchengyuyan/C__/20140416/450374.html   點選開啟連結  留這篇文章說事JDK版本問題,但是我沒有按照他的方法解決,貼出來僅供參考。

解決方法來自 stackoverflow :http://stackoverflow.com/questions/14280402/failed-to-create-the-parts-controls-in-eclipse-with-salesforce 

點選開啟連結

文章如下:

I had the same error. I fixed it by switching the eclipse workspace. Go to menu File->Switch Workspace->Other, and then select the same workspace you were working with. Eclipse will restart and you should not get the error. 

翻譯過來的解釋就是:重新選一次workspace ,並且就選擇當前的,讓Eclipse自動重啟一次,問題就解決了……

至於原因神馬的,估計是Eclipse的問題吧……

歡迎補充……O(∩_∩)O……