scala.ScalaReflectionException: type T is not a class

GitHub | rabzu | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 61#243210002

    GitHub | 7 months ago | rabzu
    scala.ScalaReflectionException: type T is not a class
  2. 0

    Support type parameters during macro expansion

    GitHub | 1 year ago | ddispaltro
    scala.ScalaReflectionException: type T is not a class
  3. 0

    GitHub comment 149#200201119

    GitHub | 1 year ago | satendrakumar06
    scala.ScalaReflectionException: type T is not a class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    CustomPicklers cannot be used in generic functions.

    GitHub | 4 years ago | markehammons
    scala.ScalaReflectionException: type T is not a class
  6. 0

    scala.ScalaReflectionException: type T is not a class

    GitHub | 3 years ago | lihaoyi
    scala.ScalaReflectionException: type T is not a class

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. scala.ScalaReflectionException

      type T is not a class

      at scala.reflect.api.Symbols$SymbolApi$class.asClass()
    2. Scala
      Symbols$SymbolContextApiImpl.asClass
      1. scala.reflect.api.Symbols$SymbolApi$class.asClass(Symbols.scala:275)
      2. scala.reflect.internal.Symbols$SymbolContextApiImpl.asClass(Symbols.scala:84)
      2 frames
    3. com.sksamuel.avro4s
      FromRecord$.applyImpl
      1. com.sksamuel.avro4s.FromRecord$.applyImpl(FromRecord.scala:226)
      1 frame