users@jaxb.java.net

Re: Problem with Ant task

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 23 Jun 2003 13:30:34 -0700

Something is wrong with Xerces. You can do one of the followings:

- add "-nv" option to the invocation of XJC. (<arg value='-nv'/>) In
  this way, XJC won't use Xerces so there won't be a problem.

- if you can, overwrite xercesImpl.jar in your ant with the one in JWSDP.

- try to add xercesImpl.jar in the classpath of <taskdef>, or if it's
  already in, see if excluding it will solve the problem.

--
Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>