Scala - cannot resolve symbol "toList"

Problem

“cannot resolve symbol toList”

Solution

import scala.collection.JavaConversions
    Clicky