如何解决这个异常

How to resolve this exception

此异常已调用但无法解决...

 Error:scalac: missing or invalid dependency detected while loading class file 'GenericCollection.class'.
 Could not access term play in package <root>,
 because it (or its dependencies) are missing. Check your build definition for
 missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.)
 A full rebuild may help if 'GenericCollection.class' was compiled against an incompatible version of <root>.

错误消息基本上是说 GenericCollection.class 引用了 _root_.play 包,但是找不到 play 包。

您必须向提供 play 包的库添加依赖项,这很可能是 play 框架的一部分。