Eclipse:Could not create the view: Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.

时间:2021-01-09 20:56:10

今天电脑死机了2次,重启电脑开eclipse后,发现项目环境坏了。百度后得到的答案是删除.metadata目录。但觉得麻烦,后在*发现最佳的方式是

.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat    

这个文件删除,重启后发现项目正常了!

引用:

http://*.com/questions/18025880/installing-ajdt-i-got-a-plug-in-org-eclipse-jdt-ui-was-unable-to-load-class-org/19792635