Thanks for the reply Jeanne Boyarsky. I already changed the java version from 1.6 to 1.7 and it was working fine . but now when I say
mvn package ,build is getting failure and getting 2 errors .
I tried deleting these 2
test files manually and tried ,but I am still getting the same errors