remove gradle script and fix the build.xml and the spring mvc configuration.