Replacing the Spark dependency with Jetty for compatibility with Java 1.6