You are using <>, which is not supported by the java source you are using, as it is only added in Java 1.7
Find the places in the source code where you are using <>and correctly specify the generic type that is implied.
eg. if it was:
List<String> myList = new ArrayList<>();
rewrite it as
List<String> myList = new ArrayList<String>();
Note. . Although the diamond operator is a convenient shortcut, I would recommend to always indicate full generics, as it not only adds readability, but also does not create a dependency on your source for 1.7+. (Which, as we see, can sometimes lead to problems.)