Failed to open editor: The editor could not be initialized. NoClassDefFoundError

I can import the Play2 project into eclipse and work with scala files, but the problem is that I cannot open image files like 'index.scala.html'. When I try to open the file, I get the following error.

Failed to open editor: The editor could not be initialized.

java.lang.NoClassDefFoundError: scala/util/parsing/input/Positional
at org.scalaide.play2.templateeditor.lexical.TemplatePartitionTokeniser.getScalaCommentAndPlainRegions(TemplatePartitionTokeniser.scala:28)
at org.scalaide.play2.templateeditor.lexical.TemplatePartitionTokeniser.tokenise(TemplatePartitionTokeniser.scala:66)
at org.scalaide.play2.templateeditor.sse.lexical.TemplateTextRegionsComputer.tokens$lzycompute(TemplateRegionParser.scala:98)
at org.scalaide.play2.templateeditor.sse.lexical.TemplateTextRegionsComputer.tokens(TemplateRegionParser.scala:96)
at org.scalaide.play2.templateeditor.sse.lexical.TemplateTextRegionsComputer.<init>(TemplateRegionParser.scala:128)
at org.scalaide.play2.templateeditor.sse.lexical.TemplateRegionParser.reset(TemplateRegionParser.scala:84)
................

      

But there is no problem opening other files. I do not know what happened. By the way, I used the typeafe activator to create a game project.

I would be grateful for any suggestions, solutions or workarounds to get it working.

Thank.

+1


source to share


1 answer


1.Use your project and create it 2. Just go to the tab menu, select newwindow from the tab window

i were solved with the first two steps thanks to



still you face the problem, please restart it.

0


source







All Articles