Take a look at the example below:
@XmlElement(name = "Time", required = true, type = String.class)
protected Date time;
The value of the third attribute of the annotation instance is the actual source code
of the String class. Instead, it should be just the string 'String.class'.
Ideally, we would get an actual reference, but the string would do for now.