The servlet dependency fixes issues with tests having errors in maven.