附加在 ScalaIDE 中不起作用的源

Attach sources not working in ScalaIDE

我在 Play 中导入了以下内容!控制器:

import reactivemongo.play.json.collection.JSONCollection
import reactivemongo.play.json.commands.JSONAggregationFramework.{Match,       Unwind, Project, AggregationResult}

第一次导入(JSONCollection case class) 在.......ivy2\cache\org.reactivemongo\reactivemongo-play-json_2.11\jars\reactivemongo-play-json_2.11-0.11. 14.jar

第二个(对象 JSONAggregationFramework)在同一个库中,但扩展了 AggregationFramework,它位于: .........ivy2\cache\org.reactivemongo\reactivemongo_2.11\jars\reactivemongo_2.11-0.11.14.jar

两个库都附有源代码和 JavaDocs。 但是,当我在 Eclipse(Scala IDE) 中 CTRL-Click 他们的名字时,我得到了一个 fastidious

**Source Not Found 
The source attachment does not contain the source for the...
You can change the source attachment by clicking ...**

错误。

我检查过源 JARS 包含上述 classes.

这是一个错误,还是我做错了什么?

P.S.

我可以进入左窗格并单击以打开 reactivemongo_2.11-0.11.14.jar 库中的任何 class,我会遇到同样的问题!

这不会发生在 classes 中: .......ivy2\cache\org.reactivemongo\play2-reactivemongo_2.11\jars\play2-reactivemongo_2.11-0.11.14.jar 不过, 我在哪里可以看到来源。

非常感谢!

请确认您是否这样做过。单击 jar 文件并 --> 转到源附件--> 单击编辑按钮和 select jar 文件的源路径。