myeclipse提示Failed to create the part's controls

myeclipse打開文件提示“Failed to create the part’s controls”

背景:昨天寫代碼的時候就發現那個頁面一直跳出提示框,提示空指問題,點叉後仍然沒有解決,當時忙着寫代碼,以爲是Myeclipse出問題了。誰知道今天一來就發現那個頁面打不開了。
如下

解決辦法:

在stackoverflow找到了相應的解決辦法

This problem occur because of in eclipse default editor is not able to identify extension of that file. If you right click on file and open it with respective text editor ,problem will be solved
翻譯過來就是
問題原因在於eclipse中默認的編輯器無法識別該文件的擴展名。右鍵單擊文件並使用相應的文本編輯器打開,問題將被解決。

所以如果崩潰的頁面是JSP頁面,只需要右擊該頁面=》open with=》MyEclipse JSP Editor,就可以重新打開該頁面。

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