在Scala IDE中打开“routes”文件时出错

在Scala IDE中打开“routes”文件时出错,scala,playframework,playframework-2.1,scala-ide,Scala,Playframework,Playframework 2.1,Scala Ide,我正在使用我的第一个scala-play2框架应用程序(hello world)。它工作得很好。但在eclipse中导入项目后,我尝试打开routes文件。我得到的只是这个: org.eclipse.core.runtime.CoreException: Plug-in "org.scala-ide.play2" was unable to instantiate class "org.scalaide.play2.routeeditor.RouteEditor". at org.ecl

我正在使用我的第一个scala-play2框架应用程序(hello world)。它工作得很好。但在eclipse中导入项目后,我尝试打开
routes
文件。我得到的只是这个:

org.eclipse.core.runtime.CoreException: Plug-in "org.scala-ide.play2" was unable to instantiate class "org.scalaide.play2.routeeditor.RouteEditor".
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:188)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:265)
    at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:235)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:283)
所以,现在我正在普通文本编辑器中打开
routes
文件。
请告诉我如何在RouteEditor中打开此文件。

如中所述,您已经安装了Eclipse Indigo的play插件,该插件在Eclipse Juno上运行。为了避免这种问题,请在Scala IDE上仔细选择正确的更新站点,然后只为您推荐兼容的插件。

需要更多信息,如Eclipse、Scala IDE和Play support插件的版本号。此外,堆栈跟踪没有有趣的信息。应该有一个“由引起的”或其他堆栈跟踪围绕着它。糟糕的是,我使用的是eclipse的bastardized版本。我有朱诺,我在Eclipse3.8中使用ScalaIDE,在3.7中使用PlayFramework。不知道为什么它在安装时什么都没说。我卸载了这些插件,并为3.8安装了插件。它现在运转良好。