users@jaxb.java.net

Error creating unmarhsaller

From: Phil Haigh <phil_at_HAIGH-FAMILY.COM>
Date: Tue, 25 Feb 2003 05:25:44 -0700

Can anyone help with this one?

I have the following code:

JAXBContext jc = JAXBContext.newInstance
  ("com.perceptive.impact.framework.database.locking");
Unmarshaller u = jc.createUnmarshaller();

com.perceptive.impact.framework.database.locking is the package into which my JAXB objects were generated.

The first line executes successfully (but takes a good 30-45 seconds). The second line does not execute successfully; I receive an IncompatibleClassChangeError exception.

Why would I get this error, and how do I fix it?