scala.ScalaReflectionException: type T is not a class

GitHub | rabzu | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 61#243210002

    GitHub | 8 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