users@jaxb.java.net

Re: Making XJC plugins work with JAXB as endorsed in Java 1.6

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Sun, 9 Sep 2007 19:54:25 +0200

Hi.

> Did you ever figure this out? I'm having the same issue, except that XJC
> finds the plugin jar even if it's not in the endorsed directory. But it
> does complain that
> "org.jvnet.jaxb2_commons.tools.xjc.plugin.commons_lang.XjcCommonsLangPlugin
> is not a subclass of class com.sun.tools.xjc.Plugin. Skipping". I also
> suspect it's a classloader issue. I'm using xjc-2.1.4 through the ant
> wrapper with ant 1.7.0.


This may be ant's issue. I'm using some jaxb2-commons plugins with
maven-jaxb2-plugin and JAXB 2.1 deployed in endorsed.

Post your build.xml maybe we could spot the problem.

Bye.
/lexi