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
java.lang.UnsupportedOperationException: Could not convert scalaType slick.dbio.DBIO to a javaType: scala.reflect.internal.Types$AliasNoArgsTypeRef
at net.codingwell.scalaguice.TypeConversions$.scalaTypeToJavaType(TypeConversions.scala:99)
at net.codingwell.scalaguice.TypeConversions$.$anonfun$scalaTypeToJavaType$1(TypeConversions.scala:82)
at scala.collection.immutable.List.map(List.scala:246)
at scala.collection.immutable.List.map(List.scala:79)
at net.codingwell.scalaguice.TypeConversions$.scalaTypeToJavaType(TypeConversions.scala:82)
at net.codingwell.scalaguice.package$.typeLiteral(package.scala:35)
at net.codingwell.scalaguice.InternalModule$BindingBuilder.<init>(ScalaModule.scala:77)
at net.codingwell.scalaguice.InternalModule.bind(ScalaModule.scala:82)
at net.codingwell.scalaguice.InternalModule.bind$(ScalaModule.scala:82)
...
As a workaround either constructing TypeLiterals manually (new TypeLiteral[MyTF[DBIO]] {}) or using @Provide methods works.
The text was updated successfully, but these errors were encountered:
Hi,
doing something like in this example:
gives the following error:
As a workaround either constructing TypeLiterals manually (
new TypeLiteral[MyTF[DBIO]] {}
) or using@Provide
methods works.The text was updated successfully, but these errors were encountered: