zio / interop-reactive-streams

Interoperability Layer Between ZIO and Reactive Streams
https://zio.dev/zio-interop-reactivestreams
Apache License 2.0
47 stars 27 forks source link

Unresolvable dependency com/sun/xml/bind/jaxb--impl/3.0.0/jaxb--impl-3.0.0.pom in zio-interop-reactivestreams 2.0.2 using OpenJDK 21 + Scala 3 #374

Closed olaf-otto closed 4 months ago

olaf-otto commented 4 months ago

I am using scala3 + zio 2 and added

"dev.zio"                       %% "zio-interop-reactivestreams"   % "2.0.2"

to my library dependencies. I am using OpenJDK 21. Upon compile, dependency resolution fails::

Downloading https://repo1.maven.org/maven2/com/sun/xml/bind/jaxb--impl/3.0.0/jaxb--impl-3.0.0.pom
Downloaded https://repo1.maven.org/maven2/com/sun/xml/bind/jaxb--impl/3.0.0/jaxb--impl-3.0.0.pom
Downloading https://repo1.maven.org/maven2/com/sun/xml/bind/jaxb--impl/3.0.0/jaxb--impl-3.0.0.pom.sha1
Downloaded https://repo1.maven.org/maven2/com/sun/xml/bind/jaxb--impl/3.0.0/jaxb--impl-3.0.0.pom.sha1
[warn]
[warn]  Note: Unresolved dependencies path:                                                                                                                                                                                                                                                                                                                                                                                         
[error] stack trace is suppressed; run last update for the full output
[error] (update) sbt.librarymanagement.ResolveException: Error downloading com.sun.xml.bind:jaxb--impl:3.0.0
[error]   Not found
[error]   Not found
[error]   not found: <user home>.\ivy2\localcom.sun.xml.bind\jaxb--impl\3.0.0\ivys\ivy.xml
[error]   not found: https://repo1.maven.org/maven2/com/sun/xml/bind/jaxb--impl/3.0.0/jaxb--impl-3.0.0.pom
[error]   not found: <user home>\.m2\repository\com\sun\xml\bind\jaxb--impl\3.0.0\jaxb--impl-3.0.0.pom

This looks like a type in a transitive dependency - perhaps reactivestreams? The artifact is called "jaxb-impl" ,not "jaxb--impl".

olaf-otto commented 4 months ago

Fixed: Not an issue but caused by a local misconfiguration.