diwenzheng commented on issue #2569:
URL:
https://github.com/apache/servicecomb-java-chassis/issues/2569#issuecomment-917323004
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class License {
@JsonProperty("licInfo")
private LicInfo licInfo;
private List<ControlItem> controlItems;
public LicInfo getLicInfo() {
return licInfo;
}
public void setLicInfo(LicInfo licInfo) {
this.licInfo = licInfo;
}
@XmlElementWrapper(name="controlItems")
@XmlElement(name = "controlItem")
public List<ControlItem> getControlItems() {
return controlItems;
}
public void setControlItems(List<ControlItem> controlItems) {
this.controlItems = controlItems;
}
@Override
public String toString() {
return "License{" +
"licInfo=" + licInfo +
", controlItems=" + controlItems +
'}';
}
}
大致知道原因所在了,是因为xmlElement这个注解的问题
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]