1. Problem
Environment: JAXB, Spring RestTemplate
Error: "类的两个属性具有相同名称", "Class has two properties of the same name"
2. Solution
As one answer of reference [1] said: solved it using the annotation at the getter level instead of using it at the member level.
Reference:
[1] http://stackoverflow.com/questions/6768544/jaxb-class-has-two-properties-of-the-same-name