1

当我尝试在 Eclipse 中打开任何 scala.html 文件时,我得到了这个异常。
所以我无法编辑文件。任何帮助将不胜感激。

java.lang.NoSuchMethodError: scala.tools.eclipse.lexical.ScalaCodeScanner.<init>(Lorg/eclipse/jface/preference/IPreferenceStore;Lscalariform/ScalaVersion;)V
    at org.scalaide.play2.templateeditor.sse.lexical.TemplateRegionParser$$anonfun$computeRegions$1$$anonfun$2.apply(TemplateRegionParser.scala:176)
    at org.scalaide.play2.templateeditor.sse.lexical.TemplateRegionParser$$anonfun$computeRegions$1$$anonfun$2.apply(TemplateRegionParser.scala:168)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
    at scala.collection.immutable.List.foreach(List.scala:318)
    at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
    at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105)
    at org.scalaide.play2.templateeditor.sse.lexical.TemplateRegionParser$$anonfun$computeRegions$1.apply(TemplateRegionParser.scala:168)
    at org.scalaide.play2.templateeditor.sse.lexical.TemplateRegionParser$$anonfun$computeRegions$1.apply(TemplateRegionParser.scala:155)
    at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
    at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:105)
    at org.scalaide.play2.templateeditor.sse.lexical.TemplateRegionParser.computeRegions(TemplateRegionParser.scala:155)
    at org.scalaide.play2.templateeditor.sse.lexical.TemplateRegionParser$$anonfun$1.apply(TemplateRegionParser.scala:59)
    at org.scalaide.play2.templateeditor.sse.lexical.TemplateRegionParser$$anonfun$1.apply(TemplateRegionParser.scala:59)
    at org.scalaide.play2.templateeditor.sse.lexical.TemplateRegionParser$LazyCache$$anonfun$apply$1.apply(TemplateRegionParser.scala:51)
    at scala.Option.getOrElse(Option.scala:120)
    at org.scalaide.play2.templateeditor.sse.lexical.TemplateRegionParser$LazyCache.apply(TemplateRegionParser.scala:50)
4

0 回答 0