You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get play.api.UnexpectedException: Unexpected exception[ExceptionInInitializerError: null] after play new, adding slick.default="models.*" to application.conf and creating the model:
package models
import play.api.db.slick.Config.driver._
case class Cat(name: String, color: String)
object Cats extends Table[Cat]("CAT") {
def name = column[String]("name", O.PrimaryKey)
def color = column[String]("color", O.NotNull)
def * = name ~ color <> (Cat.apply _, Cat.unapply _)
}
The text was updated successfully, but these errors were encountered:
I get
play.api.UnexpectedException: Unexpected exception[ExceptionInInitializerError: null]
afterplay new
, addingslick.default="models.*"
to application.conf and creating the model:The text was updated successfully, but these errors were encountered: