java.lang.Long is matching java.lang.String

I need to find out if a class type is String in Scala.

val classType = schema.field.type
classType match {
  case _: Class[String] => println("String")
  case _: Class[_] => println("Others")

But even when the classType is java.lang.Long it prints String. I have two questions :

  1. Why is this happening?
  2. What are the other ways to do the same?