此异常被调用但无法解决...
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>.
答案 0 :(得分:10)
错误消息基本上是说GenericCollection.class
引用了_root_.play
包,但无法找到play
包。
您必须向提供play
包的库添加依赖项,这很可能是播放框架的一部分。