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 然後重啓錯誤即可消失
這種辦法,我這裏測試是無效的。