Eclipse: Failed to open editor after updating Eclipse PDT to version 5.0.1.201706221952

I just updated my Eclipse PHP IDE by downloading Eclipse PDT version 5.0.1.201706221952 but it was a bad idea since I can no longer work with Eclipse. I think I ran into an error because I could not open any files of my project, Eclipse file editor seems to be broken. DLTK indexing seems to be broken too (for my current project at least ...). Sometimes the editor can open one of my files, but the file name is not displayed and I cannot save the changes.

I tried to clean my project as I found a similar problem ( Failed to open editor: Editor could not be initialized. NoClassDefFoundError ) but I got a building workspace error.

Any idea on how I can get the Eclipse editor to work?


  • Version: Neon.3 Release (4.6.3)
  • Build ID: 20170314-1500
  • My project uses Symfony 3 (you can provide more details if necessary)

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

      

Startup error:

An internal error occurred during: "Initialize DLTK".
java.lang.NoClassDefFoundError: 
org/eclipse/php/internal/core/compiler/ast/visitor/PHPASTVisitor

      

Dubture plugin also encounters 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)

      

+3


source to share


1 answer


This problem seems to come from the incompatibility of the new PDT version with the Symfony plugin.



I have the same error in both versions of Eclipse (4.6 and 4.7, with PDT in 5.0.1) and just removing the Symfony plugin (along with the Twig plugin) works for me.

+3


source







All Articles