When running from an IDE, the following is logged after logging in:
The problem is caused by the code explicitly trying to extract i18n files from the spark.jar file. When running from an IDE, there's no such archive.
Instead, i18n files should be loaded from the classpath. This will work either way.