JAXB “Class has two properties of the same name” issue
Using the JAX-WS RI, if you want to annotate a field as “required” (for example), you can use the following annotation:@XmlElement(required=true) When I added this before a field in a class, e.g.
转载
2009-11-21 21:44:00 ·
2513 阅读 ·
1 评论