I am defining a scala enum object
object LogType extends Enumeration{
val value1,value2=Value
}
But getting an error :
object Enumeration is not a member of package scala Note: class Enumeration exists, but it has no companion object.
What might be the reason?