Exception in thread "zio-fiber-700445110" java.lang.NoSuchMethodError: 'java.lang.Object zio.internal.FiberRuntime.getFiberRef(zio.FiberRef, zio.Unsafe)'
at zio.logging.slf4j.bridge.ZioLoggerRuntime.$anonfun$log$1(ZioLoggerRuntime.scala:71)
at zio.logging.slf4j.bridge.ZioLoggerRuntime.$anonfun$log$1$adapted(ZioLoggerRuntime.scala:35)
at zio.Unsafe$.unsafe(Unsafe.scala:37)
at zio.logging.slf4j.bridge.ZioLoggerRuntime.log(ZioLoggerRuntime.scala:35)
at org.slf4j.impl.ZioLoggerFactory.log(ZioLoggerFactory.scala:40)
at org.slf4j.impl.ZioLogger.log(ZioLogger.scala:30)
at org.slf4j.helpers.ZioLoggerBase.logWithThrowable(ZioLoggerBase.java:32)
at org.slf4j.helpers.ZioLoggerBase.info(ZioLoggerBase.java:158)
at HelloWorld$.$anonfun$run$1(HelloWorld.scala:13)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at zio.ZIOCompanionVersionSpecific.$anonfun$attempt$1(ZIOCompanionVersionSpecific.scala:100)
at <empty>.HelloWorld.run(HelloWorld.scala:11)
Internal implementation of FiberRuntime(zio 2.0.x) isn't binary compatible with 2.1.1 , so to fix the issue it's enough to update dependency.
Reproduce example:
Stack trace:
Internal implementation of
FiberRuntime
(zio 2.0.x) isn't binary compatible with 2.1.1 , so to fix the issue it's enough to update dependency.