How to resolve this exception
Asked Answered
C

1

10

This Exception invoked and not able to resolved it ...

 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>.
Certify answered 28/2, 2015 at 11:11 Comment(2)
Reactivemongo uses some parts of Play framework. You will need to include Play in your project.Aiglet
Could you add the import that fixed your error ?Constipation
G
10

The error message is basically saying that GenericCollection.class has a reference to the _root_.play package, but the play package can't be found.

You have to add a dependency to the library that provides the play package, which is very likely part of the play framework.

Geometry answered 28/2, 2015 at 23:4 Comment(2)
how do I do that??Whorl
How to add that?Duumvirate

© 2022 - 2024 — McMap. All rights reserved.