Could you please post more information like your web.xml, your relevant maven dependencies, or even upload a sample project that reproduces the issue? Without more information, we have basically no way to help you.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.