Why does my Java app throw an error while loading CharSequence?

Resolution

This error occurs when you are trying to deploy a Scala 2.9 application on JDK 8. Set your Java version by adding java.runtime.version=1.7 in your system.properties file.