0
반응 Mongo로 연극 2.3에있는 내 apis를 사용하고 있습니다. 최근에 나는 프로젝트를 청소하려고 노력했고 그 과정에서 몇 가지 일들이 업데이트되었습니다. 나중에, 내가 실행하거나 컴파일하려고하면, 나는 이러한 오류가 발생합니다. 깨끗한 것 외에 나는 아무것도하지 않았다. 친절하게 도와주세요.badmongo.api.collections.GenericHandlers에 대한 심볼릭 참조 'JSONGenericHandlers.class'클래스 파일에서 발생했습니다
[info] Compiling 48 Scala sources and 1 Java source to /home/Ruthvick/zcapi/zceapi /target /scala-2.11/classes...
[error] bad symbolic reference to reactivemongo.api.collections.GenericHandlers encountered in class file 'JSONGenericHandlers.class'.
[error] Cannot access type GenericHandlers in package reactivemongo.api.collections. The current classpath may be
[error] missing a definition for reactivemongo.api.collections.GenericHandlers, or JSONGenericHandlers.class may have been compiled against a version that's
[error] incompatible with the one found on the current classpath.
[error] /home/Ruthvick/zcapi/zceapi/app/controllers/Application.scala:28: type arguments [play.modules.reactivemongo.json.collection.JSONCollection] do not conform to method collection's type parameter bounds [C <: reactivemongo.api.Collection]
[error] def collection: JSONCollection = db.collection[JSONCollection]("shoppage")
[error] ^
[error] /home/Ruthvick/zcapi/zceapi/app/controllers/Application.scala:47: could not find implicit value for parameter writer: GenericCollection.this.pack.Writer[play.api.libs.json.JsObject]
[error] collection.insert(result).map { lastError =>
[error] ^
[error] 60 errors found
[error] (compile:compile) Compilation failed
[error] application -
감사, 재생의