Removed unused dependencies to fix Spark's error on startup. This was caused by binary incompatibility of some libraries.