landcast wrote:
> I'm running in trouble with the jdk of current jaxb 2.0 used.
> Before today, I use jaxb-2.0EA3 which can work well under jdk 1.5, and today I replace it with the new jars downloaded (jaxb2-20060508).
> Then it reported error that it requires javax.xml.bind.annotation.AccessType class, and I found it's provided in the jdk 6. Does it mean if I want to use updated jaxb, I need to upgrade to jdk 6. That's a big problem.
> Thanks a lot.
Two annotations have renamed since EA3. They were called AccessType and
AccessorType, but now they are called XmlAccessType and XmlAccessorType.
Those are the final names.
So please update your code accordingly. It takes some time for changes
made in JAXB spec to propagate to Mustang, so that's probably why the
version of Mustang you saw had old names (but now it should have the new
names.)
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com