permanently hidden warning in scala application

后端 未结 10 2293
臣服心动
臣服心动 2021-01-31 14:25

I get the following warning whenever I start my Scala application:

WARN - imported `SVNProperties\' is permanently hidden by definition of object SVNProperties in packag

10条回答
  •  萌比男神i
    2021-01-31 15:25

    If the warning comes from importing a class with the same name, you can always use import renaming.

    package domain
    
    case class Company (...
    

    package models
    
    import domain.{Company => _Company}
    
    object Company extends SkinnyCRUDMapper[_Company] {
    

提交回复
热议问题