I got the same error. I think the fix was to remove the file userlib/javax.servlet-3.0.0.jar as this causes a conflict.
having said that, all was going well with my sandboxed app but now I'm getting a 502 Bad Gateway after an error whilst importing some data - don't know if it's related yet.
Cheers
Adrian