I just upgraded my Eclipse PHP IDE by downloading Eclipse PDT Version 5.0.1.201706221952 but that was a bad idea since I can't work with Eclipse anymore. I think I'm facing a bug because I could not open any files of my project, the Eclipse file Editor seems broken. The DLTK indexing seems broken too (for my current project at least...). Sometimes the editor could open one of my files but the name of the file is not displayed and I can't save modifications.
I tried to clean my project since I've found a similiar issue ( Could not open the editor: Editor could not be initialized. NoClassDefFoundError ) but I got a building workspace error.
Any idea on how I can get the Eclipse editor working ?
Building workspace error :
Errors occurred during the build.
Errors running builder 'Script Builder' on project 'PROJET_VISA_ECLIPSE'.
java.lang.NoClassDefFoundError:
org/eclipse/php/internal/core/compiler/ast/visitor/PHPASTVisitor
Error at launch:
An internal error occurred during: "Initialize DLTK".
java.lang.NoClassDefFoundError:
org/eclipse/php/internal/core/compiler/ast/visitor/PHPASTVisitor
Dubture plugin is also encountering errors :
com.dubture.twig.core.index.TwigIndexingVisitorExtension.
Editor error: No editor descriptor for id org.eclipse.ui.internal.emptyEditorTab
java.lang.Exception
at org.eclipse.ui.internal.EditorReference.createErrorPart(EditorReference.java:340)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:321)
This problem seems to come from an incompatibility between the new PDT version and the Symfony plugin.
I have the same error in both version of Eclipse (4.6 and 4.7, with PDT at 5.0.1), and just uninstalling the Symfony plugin (along with Twig plugin) works for me.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.