You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ scala-cli package -f zio-temporal.scala -o ziotemporal.jar --assembly
Wrote /Users/cdepaula/repos/scala-playground/zio/ziotemporal.jar, run it with
./ziotemporal.jar
❯ ll ziotemporal.jar
.rwxr-xr-x 57Mi cdepaula 13 Mar 09:28 ziotemporal.jar*
Carlos or I will respond later. It may be caused by assembly misconfiguration. GRPC uses META-INF files to pick-up backend implementation in runtime. Those files (or classes specified inside them) may be accidentally dropped from the fat jar
I'm trying to generate assembly JARs for some applications(to run in a Docker container for example) and when run they generate exceptions.
Sample:
https://gist.github.com/carlosedp/8af4ec212bd987335c47933bee4c8db0
Error:
https://pastebin.com/TTEEJq49
On another application from https://github.com/carlosedp/zio-temporal-hello, I generate the Assembly and it returns:
https://pastebin.com/qdiKhkaB
Both run fine when I use the build tool
run
, likescala-cli zio-temporal.scala
for the GIST and./mill run worker.run
.The text was updated successfully, but these errors were encountered: