Errors in Java editor when using Scala

User picture