Article:
  XML Data Binding with Castor
Subject:   When reading data from xml using Unmarshaller.unmarshal
Date:   2007-03-04 23:30:35
From:   Bollu_Narendra
plz give me answer for this problem it is urgent
i set the classpath to castor-1.1.jar;.;commons-logging-api.jar;.; but this problem rises
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xml/serial
ize/XMLSerializer
at org.exolab.castor.xml.Unmarshaller.initConfig(Unknown Source)
at org.exolab.castor.xml.Unmarshaller.<init>(Unknown Source)
at org.exolab.castor.xml.Unmarshaller.<init>(Unknown Source)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source)
at ReadForm221.main(ReadForm221.java:8
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • When reading data from xml using Unmarshaller.unmarshal
    2007-06-11 01:17:13  yesudas [View]

    Steps
    1. download Xerces-J-bin.2.9.0.zip from http://www.apache.org/dist/xml/xerces-j/ site
    2. extract the .zip file
    3. put the file "xercesImpl.jar" under your classpath.
    4. run the program it will work.