updated the build.xml to use 1.8 for both source and target
correct not implementedexception type in controller