I want to use hashmap in a java class which produces XML format, but I am getting JAXB exceptions -


this java class have use hash map getting key-value:

@xmlrootelement public class combo {      private map<combo, list<combo>> businessdomainandbusinesssubdomainspair = new hashmap<combo, list<combo>>();      public map<combo, list<combo>> getbusinessdomainandbusinesssubdomainspair() {         return businessdomainandbusinesssubdomainspair;     }     public void setbusinessdomainandbusinesssubdomainspair(             map<combo, list<combo>> businessdomainandbusinesssubdomainspair) {         this.businessdomainandbusinesssubdomainspair = businessdomainandbusinesssubdomainspair;     } } 

but in angular code getting error on debug: enter image description here

i tried using linkedhashmap still getting error. can 1 please suggest solution this.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -