--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at http://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
Hi Jeroen,
So it should work out-of-the-box ? Because I tried but I get an exception like "...no configured path" or so. Should I do some configure somewhere ?
Best,
Vlad
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at http://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
No message body writer has been found for response class ArrayList.
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
On Jul 8, 2015 3:08 AM, <dummi...@gmail.com> wrote:
>
> I still had an error though, the XML processor was complaining about duplicate attributes: "myField" and "getMyField()". I had to remove the getters and to make the fields public. Do you know another way ?
Maybe did you have JAXB annotations on both the field and getter method? If so, you could've removed that on the field.
Otherwise, could you copy and paste code snippet?
Woonsan
>
>
> Best regards,
> Vlad
@XmlRootElement(name="coupon")
public class VoucherXMLRepresentation {
@XmlElement
public String brandLogo;
..........
public String getBrandLogo() {
return brandLogo;
}
public void setBrandLogo(String brandLogo) {
this.brandLogo = brandLogo;
}
.............
}
[INFO] [talledLocalContainer] 10.07.2015 14:25:47 WARN http-bio-8080-exec-2 [AbstractJAXBProvider.handleExceptionStart:660] com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 22 counts of IllegalAnnotationExceptions
[INFO] [talledLocalContainer] Class has two properties of the same name "brandLogo"
[INFO] [talledLocalContainer] this problem is related to the following location:
[INFO] [talledLocalContainer] at public java.lang.String de.einsundeins.hippo.rest.sparclub.VoucherXMLRepresentation.getBrandLogo()
[INFO] [talledLocalContainer] at de.einsundeins.hippo.rest.sparclub.VoucherXMLRepresentation
[INFO] [talledLocalContainer] this problem is related to the following location:
[INFO] [talledLocalContainer] at public java.lang.String de.einsundeins.hippo.rest.sparclub.VoucherXMLRepresentation.brandLogo
[INFO] [talledLocalContainer] at de.einsundeins.hippo.rest.sparclub.VoucherXMLRepresentation