Link to home
Start Free TrialLog in
Avatar of yasoda
yasoda

asked on

How to serialize java.math.BigDecimal using java.beans.XMLEncoder --- URGENT

When tried to serialize java.math.BigDecimal using java.beans.XMLEncoder it has given the following error.

java.lang.InstantiationException: java.math.BigDecimal
Continuing ...
java.lang.Exception: discarding statement XMLEncoder0.writeObject(BigDecimal0);
Continuing ...

OS: Windows XP
eclipse IDE,Tomcat 5.0.19
ASKER CERTIFIED SOLUTION
Avatar of el_dios
el_dios

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mayank S
Try using Castor instead of XMLBeans - www.castor.org