Fixing dependency issues due to injection of javax.servlet.

Fixes build downstream of ADAM; similar to https://github.com/bigdatagenomics/adam/pull/287.