Error: (6, 12) object apache is not a member of package org
The import org. Apache. Spark. SQL. {Encoder, Encoders}
Error: (16, 42) not found: the type Encoder
Implicit def newOggMessageBeanEncoder: Encoder [OggMessageBean]=Encoders. The bean (classOf [OggMessageBean])
Error: (21, 37) not found: the type Encoder
Implicit def newAreasBeanEncoder: Encoder [AreasBean]=Encoders. The bean (classOf [AreasBean])
In this case how to solve? Help bosses