0 Replies Latest reply on Dec 28, 2011 9:36 AM by kvaso

    JAXB - cyclic reference

      I am quite new to JAXB and I have a following problem:

      I want to marshall this class:
      class A{
       String id; //unique
       HashMap<A,A> map;
      I am getting cyclic reference exception
      I tried to use @XmlIDREF / @XmlID but it did not help (maybe I was using it wrong...)

      could you please help me, how to solve this? thanks a lot