Had to remove java config for web initializer
added web.xml