java.lang.NoClassDefFoundError: play/api/libs/json/OWrites$class

Google Groups | Kilic Ali-Firat | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.NoClassDefFoundError: play/api/libs/json/OWrites$class

    Google Groups | 6 months ago | Kilic Ali-Firat
    java.lang.NoClassDefFoundError: play/api/libs/json/OWrites$class

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      play/api/libs/json/OWrites$class

      at reactivemongo.play.json.ImplicitBSONHandlers$JsObjectDocumentWriter$.<init>()
    2. reactivemongo.play.json
      package$.JsObjectDocumentWriter
      1. reactivemongo.play.json.ImplicitBSONHandlers$JsObjectDocumentWriter$.<init>(package.scala:535)
      2. reactivemongo.play.json.package$.JsObjectDocumentWriter$lzycompute(package.scala:70)
      3. reactivemongo.play.json.package$.JsObjectDocumentWriter(package.scala:70)
      3 frames
    3. com.bioserenity.bff
      Main.main
      1. com.bioserenity.bff.writer.MongoWriter$.findRecordTest(MongoWriter.scala:32)
      2. com.bioserenity.bff.main.Main$.main(Main.scala:9)
      3. com.bioserenity.bff.main.Main.main(Main.scala)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames