Eclipse報錯:打不開yml,解決辦法。

STS在使用一段時間後突然報錯 Plug-in “org.springframework.ide.eclipse.boot.properties.editor.yaml” was unable to instantiate class “org.springframework.ide.eclipse.boot.properties.editor.yaml.SpringYamlEditor”.

在這裏插入圖片描述

以下是目前網絡上存在的各種解決辦法:

1、右擊配置文件然後open with然後選擇Yedit yaml editor。
在這裏插入圖片描述
可以打開,但是 Open With 中Spring Yaml Properties Editor依舊用不了了。

2、通過Eclipse Marketplace重新安裝了一下Spring tool 。

在這裏插入圖片描述

完美解決。(如果安裝過了可以更新一下,或者卸載了重新安裝。)

3. window -> Preferenct ->Spring ->Dashboard 選擇Use Old Dashboard 然後重啓錯誤即可消失

這種辦法,我這裏測試是無效的。

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