Ammonite icon indicating copy to clipboard operation
Ammonite copied to clipboard

[bug] underscore import for a single `$ivy` dependncy fails (exact import works)

Open hochgi opened this issue 1 year ago • 0 comments

$ amm
Loading...
Welcome to the Ammonite Repl 2.5.4-26-9cd15abe (Scala 2.13.8 Java 11)
@ import $ivy.`com.typesafe.akka::akka-http-core:10.2.10` 
import $ivy.$                                          

@ import akka.http.scaladsl.model.Uri 
import akka.http.scaladsl.model.Uri

@ import akka.http.scaladsl.model._ 
cmd1.sc:10: Symbol 'term akka.stream.scaladsl' is missing from the classpath.
This symbol is required by 'class akka.http.scaladsl.model.SslSessionInfo'.
Make sure that term scaladsl is in your classpath and check for conflicting dependencies with `-Ylog-classpath`.
A full rebuild may help if 'SslSessionInfo.class' was compiled against an incompatible version of akka.stream.
  override def toString = "cmd1"
               ^
Compilation Failed

Screenshot from 2023-07-11 10-59-23

hochgi avatar Jul 11 '23 08:07 hochgi